diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-22 16:58:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-22 16:58:09 +0000 |
commit | 08c3ff0544bdd127cb3f89fb9f00ae99e3cfca69 (patch) | |
tree | 59b702398b5663cccdb12005c4b6ec0f7e57aab0 /sys/net80211 | |
parent | 4235eb8b1114b407894a3adb21c4d3cc27099bf9 (diff) |
Add _MAXCOMLEN to syslimits, it is 24, and includes the NUL. Following
commits will change sys/param.h MAXCOMLEN, sys/sysctl.h KI_MAXCOMLEN,
sys/acct.h ac_comm[], dev/ic/dtvar.h DTMAXCOMLEN to use this, and also
adapt most to the included NUL correctly. This will allow us to remove
sys/param.h include from userland base.
sys/syslimits.h is chosen as the best place for this define because it
has very small namespace which is already pulled in often.
ok millert
Diffstat (limited to 'sys/net80211')
0 files changed, 0 insertions, 0 deletions