mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
2c1963d463
commit
c84d8db0ab
@ -57,6 +57,9 @@
|
||||
#include <fs/pseudofs/pseudofs.h>
|
||||
#include <fs/procfs/procfs.h>
|
||||
|
||||
_Static_assert(nitems(rlimit_ident) == RLIM_NLIMITS,
|
||||
"resource.h RLIMIT_IDENT needs update");
|
||||
|
||||
int
|
||||
procfs_doprocrlimit(PFS_FILL_ARGS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user