#
1286fd8e |
| 26-Jul-2025 |
Kyle Evans <kevans@FreeBSD.org> |
base: do a sweep of setgroups() that mean to clear the supplementaries
In the future, this will be beneficial as we move the egid out of the groups list; there's no need to track the egid explicitly
base: do a sweep of setgroups() that mean to clear the supplementaries
In the future, this will be beneficial as we move the egid out of the groups list; there's no need to track the egid explicitly in our supplemental groups, and doing so could become a security issue if setgid() would not end up switching groups[0] as it does today and we end up wanting to change our egid.
The rwhod diff is a little gratuitious, but I like patterns and setgroups() -> setgid() -> setuid() is a lot more common than setgid() -> setgroups() -> setuid().
This is sweep is not exhaustive and intentionally did not include contrib/, crypto/ or tools/.
Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D51510
show more ...
|
Revision tags: release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2, release/14.3.0, release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
#
f4e0aec9 |
| 04-Jan-2024 |
Shi-Xin Huang <shixinh70@gapp.nthu.edu.tw> |
ypldap(8): Fix grammar in ypldap.c
Event: Advanced UNIX Programming Course (Fall’23) at NTHU. Pull Request: https://github.com/freebsd/freebsd-src/pull/991
|
Revision tags: release/14.0.0 |
|
#
f5335513 |
| 10-Oct-2023 |
John Baldwin <jhb@FreeBSD.org> |
Trim various $FreeBSD$
Approved by: markj (cddl/contrib changes) Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41961
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
3a166b33 |
| 07-Apr-2020 |
Kyle Evans <kevans@FreeBSD.org> |
yp*: fix -fno-common build
This is mostly two problems spread out far and wide: - ypldap_process should be declared properly - debug is defined differently in many programs
For the latter, just ext
yp*: fix -fno-common build
This is mostly two problems spread out far and wide: - ypldap_process should be declared properly - debug is defined differently in many programs
For the latter, just extern it and define it everywhere that actually needs it. This mostly works out nicely for ^/libexec/ypxfr, which can remove the assignment at the beginning of main in favor of defining it properly.
-fno-common will become the default in GCC10/LLVM11.
MFC after: 3 days
show more ...
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
4f9d94bf |
| 04-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r309263 through r309518.
|
#
bbdfc8f1 |
| 02-Dec-2016 |
Marcelo Araujo <araujo@FreeBSD.org> |
Use memset(3) instead of bzero(3).
Obtained from: OpenBSD (r1.12, r1.20, r1.18 and r1.37)
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
152e878f |
| 16-May-2016 |
Marcelo Araujo <araujo@FreeBSD.org> |
When a group contains a non-existent user, make the warning message more helpful by mentioning the group name.
Obtained from: OpenBSD (cvs 1.19)
|
Revision tags: release/10.3.0 |
|
#
b626f5a7 |
| 04-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH r289384-r293170
Sponsored by: The FreeBSD Foundation
|
#
9a7cd2e6 |
| 22-Dec-2015 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MFH @r292599
This includes the pluggable TCP framework and other chnages to the netstack to track for VNET stability.
Security: The FreeBSD Foundation
|
#
7433efff |
| 15-Dec-2015 |
Marcelo Araujo <araujo@FreeBSD.org> |
EAGAIN handling for imsg_read.
Approved by: bapt (mentor) Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D4547
|
#
a5d8944a |
| 19-Nov-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head (r291075).
|
#
350ed599 |
| 16-Nov-2015 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Replace __dead with __dead2.
FreeBSD lacks __dead.
|
#
66b5c05d |
| 16-Nov-2015 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Add include of sys/param.h for MAXHOSTNAMELEN
|
#
9e7c127f |
| 16-Nov-2015 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Import ypldap from OpenBSD.
ypldap -- Intended to be a drop-in replacement for ypserv, gluing in a LDAP directory and thus providing support for users and groups stored in LDAP for the get{pw,gr}ent
Import ypldap from OpenBSD.
ypldap -- Intended to be a drop-in replacement for ypserv, gluing in a LDAP directory and thus providing support for users and groups stored in LDAP for the get{pw,gr}ent family of functions.
show more ...
|