mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
Remove GIANT_REQUIRED from setugidsafety() as knote_fdclose() no longer
requires Giant.
This commit is contained in:
parent
7284291340
commit
16239786ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134018
|
@ -1660,8 +1660,6 @@ setugidsafety(td)
|
|||
struct filedesc *fdp;
|
||||
int i;
|
||||
|
||||
GIANT_REQUIRED; /* kqueue */
|
||||
|
||||
/* Certain daemons might not have file descriptors. */
|
||||
fdp = td->td_proc->p_fd;
|
||||
if (fdp == NULL)
|
||||
|
|
Loading…
Reference in a new issue