1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libcasper
Mariusz Zaborski 9509775394 cap_filergs: limit size of the file name
The limit of the name in fileargs is twice the size of the MAXPATH.
The nvlist will not add an element with the longer name.
We can detect at this point that the path is too big, and simple return
the same error as open(2) would.

PR:		239700
Reported by:	markj
Tested by:	markj
MFC after:	2 weeks
2019-08-07 19:30:33 +00:00
..
libcasper libcasper: remove reference to deprecated system.random 2019-07-29 21:26:26 +00:00
services cap_filergs: limit size of the file name 2019-08-07 19:30:33 +00:00
tests
Makefile
Makefile.inc