1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/sbin
florian 3a57ef9100 Write /etc/resolv.conf in a more atomic manner.
There were few reports were /etc/resolv.conf would lose user-managed
lines, possibly caused by a system crash.

While here add a call to fsync(2) which might also help.

input otto
input & OK deraadt, kn
2022-09-02 09:39:55 +00:00
..
atactl man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
badsect man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
bioctl Sync usage with manual 2022-08-26 09:14:00 +00:00
clri Fix botched format string in previous commit as spotted by robert@ 2020-06-24 05:46:07 +00:00
dhclient dhclient(8) has been undergoing replacement with "ifconfig xxx inet auto" 2022-07-02 17:21:32 +00:00
dhcpleased Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, 2022-08-29 17:00:29 +00:00
disklabel d_bbsize and d_sbsize have become write-only fields. 2022-09-01 13:35:02 +00:00
dmesg dmesg(8): don't accept positional arguments 2022-08-03 00:23:14 +00:00
dump Don't treat the first arg as a 4.3BSD option string if it contains a '/'. 2022-06-02 15:35:55 +00:00
dumpfs With filesystem having many cylinder groups and many inodes per cg the 2020-06-20 07:49:04 +00:00
fdisk Print warning when a GPT partition start or end is outside the 2022-08-29 19:39:10 +00:00
fsck Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
fsck_ext2fs man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
fsck_ffs Nuke comment about not using d_sbsize. 2022-09-01 13:37:57 +00:00
fsck_msdos Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
fsdb fix use after free in debug path 2022-07-22 09:04:44 +00:00
fsirand With filesystem having many cylinder groups and many inodes per cg the 2020-06-20 07:49:04 +00:00
growfs With filesystem having many cylinder groups and many inodes per cg the 2020-06-20 07:49:04 +00:00
ifconfig remove unused variables 2022-07-08 07:04:54 +00:00
iked add missing full stop; 2022-07-22 20:31:39 +00:00
init For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
ipsecctl Use in_addr for AF_INET. 2022-06-25 20:33:40 +00:00
isakmpd man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
kbd Add error handling if setting the keyboard encoding fails. After 2022-05-05 16:12:42 +00:00
ldattach When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:32:41 +00:00
mknod we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
mount fix grammar in comment: successfully -> successful 2022-04-09 15:40:55 +00:00
mount_cd9660 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; 2020-04-23 21:28:08 +00:00
mount_ext2fs ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; 2020-04-23 21:28:08 +00:00
mount_ffs ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; 2020-04-23 21:28:08 +00:00
mount_msdos Align description of -g and -u with mount_tmpfs.8 2022-08-20 07:03:24 +00:00
mount_nfs remove semicolons not needed after } statements. ok deraadt 2020-01-22 06:24:07 +00:00
mount_ntfs Align description of -g and -u with mount_tmpfs.8 2022-08-20 07:03:24 +00:00
mount_tmpfs Avoid gendered language in man pages when not referring to a specific 2022-02-18 23:17:13 +00:00
mount_udf For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
mount_vnd SYNOPSIS had no matching Ek, but since it wasn;t needed, remove Bk; 2020-04-23 21:33:04 +00:00
mountd Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, 2022-08-29 17:00:29 +00:00
ncheck_ffs minor formatting tweak: remove incorrect .Ar and garbage collect .Tn 2020-02-08 17:25:25 +00:00
newfs For 4k sector disks, the minimum frag size is 4k. For a 2G fs 2021-06-03 06:42:03 +00:00
newfs_ext2fs man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
newfs_msdos Correct various min/max cluster numbers for FAT12/16/32. From NetBSD. 2021-07-11 15:39:58 +00:00
nfsd Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, 2022-08-29 17:00:29 +00:00
nologin Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
pdisk Allow sbBlkCount to be less than the number of physical sectors on the 2019-07-31 00:14:10 +00:00
pfctl Remove redundant bzero, the pfctl struct memset later on. 2022-07-27 12:28:27 +00:00
pflogd Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, 2022-08-29 17:00:29 +00:00
ping If the signature on an icmp echo reply doesn't match, don't count it as 2022-02-21 03:50:46 +00:00
quotacheck When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:32:41 +00:00
reboot
resolvd Write /etc/resolv.conf in a more atomic manner. 2022-09-02 09:39:55 +00:00
restore man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
route Mention id(1) -R, reference rtable(4) in route(8) 2022-07-29 18:28:32 +00:00
savecore Savecore uses its own private copy of compress, so it should 2022-03-25 16:14:55 +00:00
scan_ffs When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:32:41 +00:00
scsi reduce verbosity of usage(); keep it the same as SYNOPSIS, wrapped at 80w. 2021-06-22 14:51:29 +00:00
shutdown Among published AT&T UNIX releases, a shutdown(8) command was contained 2022-08-05 09:15:28 +00:00
slaacd Dynamically link these /sbin daemons: dhcpleased, mountd, nfsd, pflogd, 2022-08-29 17:00:29 +00:00
swapctl make SYNOPSIS match usage to indicate -l is optional in: 2021-08-24 13:15:07 +00:00
swapon
sysctl Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
ttyflags For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
tunefs missing dots after ".%P pp"; the case of btree(3) was 2019-04-23 18:13:11 +00:00
umount More Version 1 AT&T UNIX history. 2019-09-06 19:25:08 +00:00
unwind sync to libunbound 1.16.2; heavy lifting by sthen 2022-08-30 05:46:50 +00:00
vnconfig Don't print device name on failure 2022-09-01 01:52:08 +00:00
wsconsctl remove please from manual pages 2022-02-06 00:29:02 +00:00
Makefile Hook up dhcpleased to the build. 2021-02-26 17:17:03 +00:00
Makefile.inc