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

Move ibuf API from imsg_init.3 to ibuf_add.3

3 года назад
Symbols.map

More imsg function additions:

год назад
bcrypt_pbkdf.3

.Lb libutil ; OK tedu@

год назад
bcrypt_pbkdf.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

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

Give ober_printf_elements() a ber_element array, similar to ober_scanf_elements(). This allows us to move down and back up multiple levels in with nested sequences and sets.

3 года назад
ber.h

Bump BER_MAX_OID_LEN to 128

5 лет назад
check_expire.3

.Lb libutil ; OK tedu@

год назад
check_expire.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 лет назад
duid.c

ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) in util.h.

14 лет назад
fmt_scaled.3

.Lb libutil ; OK tedu@

год назад
fmt_scaled.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

4 года назад
fparseln.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
fparseln.c

Christos Zoulas agreed to rescind clause 3 and 4 in NetBSD fsck.8 rev 1.35 fsutil.h rev 1.14 pathnames.h rev 1.2 netgroup_mkdb.8 rev 1.9 netgroup_mkdb.c rev 1.18 str.c rev 1.7 str.h rev 1.4 rdate.8 rev 1.11 rdate.c rev 1.19 extern.h rev 1.14 getnetgrent.c rev 1.41 netgroup.h rev 1.10 fparseln.3 rev 1.4 fparseln.c rev 1.10

4 года назад
getmaxpartitions.3

.Lb libutil ; OK tedu@

год назад
getmaxpartitions.c

make fixed-sized fixed-value mib[] arrays be const ok guenther tb millert

6 лет назад
getrawpartition.3

.Lb libutil ; OK tedu@

год назад
getrawpartition.c

make fixed-sized fixed-value mib[] arrays be const ok guenther tb millert

6 лет назад
ibuf_add.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
imsg-buffer.c

Preserve errno in ibuf_free() so we don't have to do it in the callers. OK tb@

год назад
imsg.c

Set the initial imsg header len to 0 in imsg_create().

год назад
imsg.h

Add back #include <sys/types.h> for pid_t

год назад
imsg_init.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
isduid.3

.Lb libutil ; OK tedu@

год назад
login.3

.Lb libutil ; OK tedu@

год назад
login.c

Switch login(3) from lseek+read/write to pread/pwrite and only do the pread() if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia. Fix cast in offset calculation; delete register keyword; prefer memset() over bzero()

11 лет назад
login_fbtab.3

.Lb libutil ; OK tedu@

год назад
login_fbtab.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

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

sys/types.h rather than sys/param.h, where applicable. avoid overreach.

12 лет назад
logout.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

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 лет назад
ober_add_string.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ober_get_string.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ober_oid_cmp.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ober_read_elements.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ober_set_header.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ohash.c

merge ohash into 1 source file, then we can revisit next roadmap items. ok espie

12 лет назад
ohash.h

merge ohash into 1 source file, then we can revisit next roadmap items. ok espie

12 лет назад
ohash_init.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
ohash_interval.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
opendev.3

.Lb libutil ; OK tedu@

год назад
opendev.c

Backout "Only return file descriptors to block or character devices"

4 года назад
opendisk.3

.Lb libutil ; OK tedu@

год назад
opendisk.c

sys/types.h rather than sys/param.h, where applicable. avoid overreach.

12 лет назад
openpty.3

.Lb libutil ; OK tedu@

год назад
passwd.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 лет назад
pidfile.3

.Lb libutil ; OK tedu@

год назад
pidfile.c

Actually, the C standard only guarantees that atexit(3) returns non-zero on error, so tweak previous to test "atexit(...) != 0" for portability. "OK ok ok sorry backwards" deraadt@

7 лет назад
pkcs5_pbkdf2.3

.Lb libutil ; OK tedu@

год назад
pkcs5_pbkdf2.c

remove unneeded semicolons; checked by millert@

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

Make the termp and winp arguments for openpty, et al. const. This matches the prototypes in glibc and musl libc. From Matthew Martin. OK tb@

4 года назад
pw_init.3

.Lb libutil ; OK tedu@

год назад
pw_lock.3

.Lb libutil ; OK tedu@

год назад
readlabel.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 лет назад
readlabelfs.3

.Lb libutil ; OK tedu@

год назад
shlib_version

Bump minor version because of symbol additions.

год назад
util.h

Mark pw_error as __dead in prototype to match the function definition. From Matthew Martin.

4 года назад
uu_lock.3

.Lb libutil ; OK tedu@

год назад
uucplock.c

snprintf/vsnprintf return < 0 on error, rather than -1.

7 лет назад