/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
usr.sbin/config/
..
Makefile

exec.c provided indirection for multiple exec formats. ELF-only now, so...

11 лет назад
cmd.c

options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@

7 лет назад
cmd.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
config.8

allow comments, to be used with bsd.re-config. ok kn

год назад
config.h

remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN(). The latter two exposed a large block allocator on top of malloc() which doesn't really make sense in this decade (the objects are never freed, so not quite like the famous openssl allocator) ok millert jsg

5 лет назад
exec.h

remove clause 3 and 4. -moj

23 года назад
exec_elf.c

For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert

5 лет назад
files.c

Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)

12 лет назад
gram.y

remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN(). The latter two exposed a large block allocator on top of malloc() which doesn't really make sense in this decade (the objects are never freed, so not quite like the famous openssl allocator) ok millert jsg

5 лет назад
hash.c

remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN(). The latter two exposed a large block allocator on top of malloc() which doesn't really make sense in this decade (the objects are never freed, so not quite like the famous openssl allocator) ok millert jsg

5 лет назад
main.c

When cmdfile is specified, use lines from it for all input, not just commands. This allows complex actions like changing device parameters to be done with a command file.

5 лет назад
misc.c

When cmdfile is specified, use lines from it for all input, not just commands. This allows complex actions like changing device parameters to be done with a command file.

5 лет назад
misc.h

allow specifying a cmdfile instead of trying to pipe in commands for -ef. ok deraadt

7 лет назад
mkheaders.c

Use the err(3) family of functions more consistently.

10 лет назад
mkioconf.c

Adjust mkioconf so the emitted extern struct cfattach are const.

4 года назад
mkmakefile.c

Remove newbsd.gdb rather than bsd.gdb from reorder_kernel

год назад
mkswap.c

remove unneeded conf.h include

2 года назад
pack.c

Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)

12 лет назад
scan.l

Convert two K&R function definitions to ANSI

3 года назад
sem.c

error on long locator lines, don't overflow buffers found with afl, feedback and ok millert@

2 года назад
sem.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
ukc.c

config -eu uses a second copy of the nlist array[], which should never become different or the #define's for the slots could diverge. To avoid this, make one a copy of the other at runtime.

7 лет назад
ukc.h

options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@

7 лет назад
ukcutil.c

allow comments, to be used with bsd.re-config. ok kn

год назад
util.c

Add printf format attributes to the custom error functions.

10 лет назад