random: introduce getrandom(2) system call
[firefly-linux-kernel-4.4.55.git] / include / linux / syscalls.h
index b0881a0ed322a98253b5a14503002f1bd50a772f..43324a897cf2ed41e560de1d5f6894ae090c3c44 100644 (file)
@@ -866,4 +866,7 @@ asmlinkage long sys_process_vm_writev(pid_t pid,
 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,
                         unsigned long idx1, unsigned long idx2);
 asmlinkage long sys_finit_module(int fd, const char __user *uargs, int flags);
+asmlinkage long sys_getrandom(char __user *buf, size_t count,
+                             unsigned int flags);
+
 #endif