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

Kill #ifdef INET6 occurrences in userland.

10 лет назад
extern.h

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

2 года назад
ftpcmd.y

gmtime(3) / locatime(3) can fail when timestamps are way off.

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

man pages: add missing commas between subordinate and main clauses

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

There is no call to setpassent(1) or to getpwent(), so endpwent() is not required. Strangely, this pattern of calling endpwent() after getpwuid() or getpwnam() has become quite common, and I have a bunch of mop-up diffs coming. Discussed with millert.

год назад
logutmp.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
logwtmp.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 лет назад
monitor.c

There is no call to setpassent(1) or to getpwent(), so endpwent() is not required. Strangely, this pattern of calling endpwent() after getpwuid() or getpwnam() has become quite common, and I have a bunch of mop-up diffs coming. Discussed with millert.

год назад
monitor.h

- use proper log facility and priority in the slave sig handlers - if the monitor decides to kill the slave, log that ok millert@ moritz@

19 лет назад
monitor_fdpass.c

Print ssize_t with %zd; ok deraadt@ mmcc@

10 лет назад
pathnames.h

Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.

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

Remove unused variables; ok millert@

3 года назад