]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r302519:
authoreadler <eadler@FreeBSD.org>
Sat, 3 Mar 2018 18:11:02 +0000 (18:11 +0000)
committereadler <eadler@FreeBSD.org>
Sat, 3 Mar 2018 18:11:02 +0000 (18:11 +0000)
commit4c0635ed2aca6621c0aacd13508ad23b45a5cb7c
tree0e17d47ed121dd9ef972c2eb526cabccc4ee9099
parente6e7316bb518043c05053ea7a04b7e363ae1ed11
MFC r302519:

Audit the file-descriptor number argument for openat(2).  Remove a comment
about the desirability of auditing the number, as it was in fact in the
wrong place (in the common path for open(2) and openat(2), and only the
latter accepts a file-descriptor argument).  Where other ABIs support
openat(2), it may be necessary to do additional argument auditing as it is
not performed in kern_openat(9).

MFC after: 3 days
sys/kern/vfs_syscalls.c