r/programming • u/txdv • Aug 16 '14
Linux adds getrandom
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895
143
Upvotes
r/programming • u/txdv • Aug 16 '14
View all comments
Show parent comment
11
u/sharth Aug 16 '14
277 is
seccomp. The original patch was built against a version of linux without that system call.Here's where the system call was added originally: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/uapi/asm-generic/unistd.h?id=48dc92b9fc3926844257316e75ba11eb5c742b2c
And note in Torvalds' merge of
getrandom()that you can see thatsys_seccomp()is listed: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/uapi/asm-generic/unistd.h?id=f4f142ed4ef835709c7e6d12eaca10d190bcebed