#
2119819d |
| 04-Nov-2024 |
jca <jca@openbsd.org> |
Ignore extra groups that don't fit in the buffer passed to getgrouplist(3)
Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents an admin from adding a user to more groups. With that tw
Ignore extra groups that don't fit in the buffer passed to getgrouplist(3)
Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents an admin from adding a user to more groups. With that tweak we'll keep on ignoring them instead of potentially reading past the buffer passed to getgrouplist(3). That behavior is explicitely described in initgroups(3).
ok millert@ gilles@
show more ...
|
#
5f6cad80 |
| 06-Mar-2019 |
dtucker <dtucker@openbsd.org> |
Move checks for lists of users or groups into their own function. This is a no-op on OpenBSD but will make things easier in -portable, eg on systems where these checks should be case-insensitive. ok
Move checks for lists of users or groups into their own function. This is a no-op on OpenBSD but will make things easier in -portable, eg on systems where these checks should be case-insensitive. ok djm@
show more ...
|
#
59480ede |
| 04-May-2015 |
djm <djm@openbsd.org> |
Remove pattern length argument from match_pattern_list(), we only ever use it for strlen(pattern).
Prompted by hanno AT hboeck.de pointing an out-of-bound read error caused by an incorrect pattern l
Remove pattern length argument from match_pattern_list(), we only ever use it for strlen(pattern).
Prompted by hanno AT hboeck.de pointing an out-of-bound read error caused by an incorrect pattern length found using AFL and his own tools.
ok markus@
show more ...
|
#
ace78deb |
| 20-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Reduce use of <sys/param.h> and transition to <limits.h> throughout. ok djm markus
|
#
0d40fefd |
| 17-May-2013 |
djm <djm@openbsd.org> |
bye, bye xfree(); ok markus@
|
#
0d0102a1 |
| 04-Jul-2008 |
djm <djm@openbsd.org> |
support negation of groups in "Match group" block (bz#1315); ok dtucker@
|
#
bd9502d5 |
| 03-Aug-2006 |
deraadt <deraadt@openbsd.org> |
almost entirely get rid of the culture of ".h files that include .h files" ok djm, sort of ok stevesk makes the pain stop in one easy step
|
#
2f43a2f8 |
| 26-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <sys/param.h> out of includes.h
|
#
eb2751a2 |
| 17-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <unistd.h> out of includes.h
|
#
102c34fb |
| 02-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <grp.h> out of includes.h
|
#
7ef31a41 |
| 25-Mar-2006 |
djm <djm@openbsd.org> |
Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that Theo nuked - our scripts to sync -portable need them in the files
|
#
4bfeb04e |
| 19-Mar-2006 |
deraadt <deraadt@openbsd.org> |
RCSID() can die
|
#
7e56a8a6 |
| 08-Apr-2003 |
itojun <itojun@openbsd.org> |
rename log() into logit() to avoid name conflict. markus ok, from netbsd
|
#
617bdbdb |
| 04-Mar-2002 |
stevesk <stevesk@openbsd.org> |
$OpenBSD$ and RCSID() cleanup: don't use RCSID() in .h files; add missing RCSID() to .c files and remove dup /*$OpenBSD$*/ from .c files. ok markus@
|
#
c1d304b2 |
| 26-Jun-2001 |
markus <markus@openbsd.org> |
remove comments from .h, since they are cut&paste from the .c files and out of sync
|
#
d4e7c603 |
| 29-Jan-2001 |
niklas <niklas@openbsd.org> |
$OpenBSD$
|
#
94dd3409 |
| 21-Jan-2001 |
markus <markus@openbsd.org> |
split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch]
|
#
36ebf654 |
| 13-Jan-2001 |
markus <markus@openbsd.org> |
support supplementary group in {Allow,Deny}Groups from stevesk@pobox.com
|