mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue