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

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

2 года назад
accton

accton.c: add missing $OpenBSD$ tag

4 года назад
acme-client

Unbreak previous.

год назад
acpidump

When looking up a symble using kvm_nlist(3), we need to prepend an underscore. This fixes acpidump on arm64. How this ever worked before is unclear, but part of the puzzle is that we didn't properly check the return value of the kvm_nlist(3) calls. So fix that too.

4 года назад
adduser

Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.

4 года назад
amd

correct indentation; no functional change ok tb@

2 года назад
apm

Tweak previous: don't warn if hw.perfpolicy isn't available

год назад
apmd

simplify FILES, start EXAMPLES

год назад
arp

Remove stylistic differences between arp(8) and ndp(8) delete() function. This makes it easier to spot real changes in behavior. OK kn@

3 года назад
authpf

Ignore extra groups that don't fit in the buffer passed to getgrouplist(3)

2 года назад
bgpctl

Properly escape ASCII control characters in JSON rather than erroring

год назад
bgpd

Rewrite rde_update code to not use imsg_compose_ibuf anymore. OK tb@

год назад
bgplgd

Add /rib/in and /rib/out as endpoints to query the Adj-RIB-In and Adj-RIB-Out respectively.

2 года назад
bpflogd

drop custom rdaemon(), daemon(3) as usual

год назад
btrace

Correct the SYNOPSIS to show that having a program is required, remove a needless ambiguity, and do not use the same argument placeholder for two different arguments.

год назад
chroot

mark up arguments individually and drop redundant .Bk

11 лет назад
config

Remove newbsd.gdb rather than bsd.gdb from reorder_kernel

год назад
cron

when processing readdir(), this incorrectly did fstatat() against "..". observed during experimental work with O_BELOW ok millert, who may want to refactor this further.

год назад
crunchgen

ugh, another typo; spotted by naddy

2 года назад
dev_mkdb

Rewrite dev_mkdb with FTS

3 года назад
dhcp6leasectl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
dhcpd

straighten synopsis for interface arguments

год назад
dhcpleasectl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
dhcrelay

Drop chroot(2) + rdaemon() and rely on pledge(2) to daemon(3) as usual

год назад
dhcrelay6

Drop chroot(2) + rdaemon() and rely on pledge(2) to daemon(3) as usual

год назад
dvmrpctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
dvmrpd

More daemons need the same treatment as ospfd recently got in order to prevent NULL dereference in interface departure logic when the arrival of the same interface has not been observed.

2 года назад
edquota

man pages: add missing commas between subordinate and main clauses

4 года назад
eeprom

remove sun3/4 bits missed when sparc was removed ok miod@

2 года назад
eigrpctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
eigrpd

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
fdformat

userspace: remove vestigial '?' cases from top-level getopt(3) loops

4 года назад
ftp-proxy

unbreak build; typofix d{ea -> ae}mon; noticed by bluhm

год назад
fw_update

Fix qcpas matching pattern. Multiple ORed patterns go on multiple lines. Tested on a T14s in ACPI mode.

год назад
gpioctl

Build gpioctl(8) on riscv64.

4 года назад
hostapd

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
hostctl

The maximum length of the value is extended to 64k bytes.

4 года назад
hotplugd

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
httpd

Set correct request timeout once we found the correct server block.

2 года назад
identd

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

7 лет назад
ifstated

correct indentation; no functional change ok tb@

2 года назад
ikectl

Do not hardcode the CRL lifetime for "ikectl revoke" to 365 days. This value is supposed to be configurable via ikeca.cnf.

2 года назад
inetd

Allow UDP for built-in inetd(8) services on 127.0.0.1.

3 года назад
installboot

Only set BootOrder if our boot option isn't already part of it. This means sysupgrade (or reinstalls) will not longer set OpenBSD as the default OS if users change the boot order by some other means. Fresh installs will still make OpenBSD the default OS.

год назад
iostat

cap cpu stats at 99 to preserve column width and separation. feedback ok deraadt job miod

год назад
iscsictl

spelling. ok jmc

3 года назад
iscsid

Always "get in first" by sending out the values for all session and connection params for each stage of the login process. This way iscsid is in control what is selected and the targets just need to answer. With this it is possible to connect to a lio target.

2 года назад
kgmon

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 лет назад
kvm_mkdb

we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno ok jmc@ schwarze@

4 года назад
ldapctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ldapd

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.

год назад
ldomctl

Make stopped ldom utilization appear as zero

3 года назад
ldomd

Print poll(2) errno

4 года назад
ldpctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ldpd

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
lldp

Fix missing line.

год назад
lldpd

sync FILES and -s, fix one reference (lldpd does not talk to itself)

год назад
lpd

At least make this rotting version of lpd compile again.

2 года назад
lpr

sync manual section numbers

2 года назад
mailwrapper

update the installed path for sendmail: from matt schwartz trim the comment - it is just repeating info

8 лет назад
makefs

Set system ID field in the PVD to OpenBSD

2 года назад
map-mbone

-o[arg] must not have spaces between option and argument; OK jmc

2 года назад
memconfig

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 лет назад
mksuncd

fix off by one in bounds test ok deraadt@

5 лет назад
mkuboot

reduce verbosity of usage(), making it match SYNOPSIS; ok kettenis

5 лет назад
mopd

a.out is no longer the commonly encountered binary file format, the world has moved to ELF.

2 года назад
mrinfo

-o[arg] must not have spaces between option and argument; OK jmc

2 года назад
mrouted

-o[arg] must not have spaces between option and argument; OK jmc

2 года назад
mtrace

getifaddrs() can return entries where ifa_addr is NULL. Check for this before accessing anything in ifa_addr. ok claudio@

6 лет назад
mtree

correct indentation; no functional change ok tb@

2 года назад
ndp

If ndp -d did not find a neigbor entry, it removed the cloning route instead. Comparing the arp(8) and ndp(8) code shows that the latter has a fallthrough to delete. Return an error also in this case. OK kn@

3 года назад
netgroup_mkdb

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 года назад
npppctl

Handle radiusd and npppd, they are different but nothing stands out.

2 года назад
npppd

Add NAS-Port attribute for Access-Request. This is required by RFC 2869.

год назад
nsd

Since we are not using a pid file the manuals render a bit strange. Pointed out by tb

2 года назад
ntpd

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ocspcheck

Fix debug output for http headers

2 года назад
ospf6ctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ospf6d

More daemons need the same treatment as ospfd recently got in order to prevent NULL dereference in interface departure logic when the arrival of the same interface has not been observed.

2 года назад
ospfctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ospfd

Prevent NULL dereference in ospfd interface departure logic when the arrival of the same interface has not been observed.

2 года назад
pcidump

correct indentation; no functional change ok tb@

2 года назад
pkg_add

pkg_create: one "a" before .Ox should be "an" like all the others

год назад
portmap

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
pppd

Some atoi -> strtonum conversions; ok denis

2 года назад
procmap

VM_MAP_BUSY and VM_MAP_WANTLOCK will be removed soon, prep for that. OK dlg@

2 года назад
pstat

Add flags NOPERM, STALLED, SWAPPABLE, DOOMED to -v output.

2 года назад
pwd_mkdb

pwd_mkdb: limit db entries to _PW_BUF_LEN to match libc

2 года назад
quot

correct indentation; no functional change ok tb@

2 года назад
quotaon

No need to declare optind, optarg or opterr; unistd.h does this for us. From Jan Stary. OK deraadt@

5 лет назад
ractl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
rad

Use .Cm on keywords where it is unambiguously required, namely: yes, no, high, medium, low. OK florian@ and caspar@ on a slightly larger diff.

год назад
radiusctl

Handle radiusd and npppd, they are different but nothing stands out.

2 года назад
radiusd

Use the value from RADIUS in preference.

год назад
rarpd

Remove REQUIRE_TFTPBOOT left-over

4 года назад
rbootd

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 лет назад
rcctl

sync synopsis and usage, sort commands, fix their spacing

2 года назад
rdate

Bump NTP era if the offset we receive is small, in a similar manner as ntpd. ok deraadt@

3 года назад
rdsetroot

Add '-s' option to simply display the number of bytes available for the rdroot filesystem in the specified kernel.

3 года назад
relayctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
relayd

Ensure that string buffers are '\0' terminated when handling them in the privileged parent.

год назад
repquota

No need to declare optind, optarg or opterr; unistd.h does this for us. From Jan Stary. OK deraadt@

5 лет назад
ripctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
ripd

More daemons need the same treatment as ospfd recently got in order to prevent NULL dereference in interface departure logic when the arrival of the same interface has not been observed.

2 года назад
rmt

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 лет назад
route6d

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

2 года назад
rpc.bootparamd

Use getaddrinfo to lookup names and parse IP addresses.

2 года назад
rpc.lockd

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
rpc.statd

Christos Zoulas removed his name from advertising clauses and copyrights of some files in NetBSD. Make the same changes here.

4 года назад
rpki-client

put an end to this silly strerror bikeshed

год назад
sa

userspace: remove vestigial '?' cases from top-level getopt(3) loops

4 года назад
sasyncd

sasyncd is another unexpected imsg user that is in the end not that special

2 года назад
sensorsd

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
slaacctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
slowcgi

zap extra space in usage added by mistake in last commit.

4 года назад
smtpd

smtpd.conf: highlight that the action has to be pre-declared in match

год назад
snmpd

Convert various reyk proc.c daemons over to new imsgbuf_init and imsgbuf_allow_fdpass.

2 года назад
spamdb

zap whitespaces

8 лет назад
syslogc

man pages: add missing commas between subordinate and main clauses

4 года назад
syslogd

Fix memleak in syslogd(8) when client aborts TLS connection.

год назад
sysmerge

have sysmerge and sysupgrade Xr each other; diff originally from peter n. m. hansteen

2 года назад
syspatch

Match what reorder_kernel is doing and use kern.osversion to find out whether we are running an MP kernel or not.

3 года назад
sysupgrade

Fix OpenBSD RCS ID typos. from Andrius V

год назад
tcpdrop

Accept netstat-style address.port syntax too. OK bluhm@ deraadt@ jmc@

4 года назад
tcpdump

tcpdump.org says DLT_RAW can contain both types of IP.

год назад
tftp-proxy

man pages: add missing commas between subordinate and main clauses

4 года назад
tftpd

Reinstate mention of chroot(2) and user quoting

год назад
tokenadm

man pages: add missing commas between subordinate and main clauses

4 года назад
tokeninit

remove outdated contact details for ActivCard and CRYPTOCard

4 года назад
traceroute

Get rid of inet_aton

2 года назад
trpt

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
unbound

merge unbound 1.22.0, ok florian

год назад
unwindctl

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
usbdevs

spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech

4 года назад
user

moduser: fix use-after-free when locking/unlocking an account.

год назад
vipw

Replace use of the old BSD st_*timespec members in struct stat with the POSIX-standard st_*tim members.

3 года назад
vmctl

Remove vmd(8) send & receive functionality.

год назад
vmd

Prevent vmd(8) guests from reading outside pci config space.

год назад
watchdogd

Delete obsolete /* ARGSUSED */ lint comments.

3 года назад
wsconscfg

Add -g option to get the index of the current virtual terminal. This can help scripts using wsconsctl display.focus to perform vt switches.

2 года назад
wsfontload

userspace: remove vestigial '?' cases from top-level getopt(3) loops

4 года назад
wsmoused

spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech

4 года назад
ypbind

found some boilerplate strncpy to replace with strlcpy. They are in messages, but the messages are zero'd first. ok jmatthew

3 года назад
ypldap

Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour

2 года назад
yppoll

Use getaddrinfo to parse IP addresses and lookup names.

2 года назад
ypserv

correct indentation

2 года назад
ypset

Use getaddrinfo to parse IP addresses and lookup names.

2 года назад
zdump

Merge changes from tzcode2013[e-g]

год назад
zic

Merge changes from tzcode2013[e-g]

год назад
Makefile

wire lldp, lldpd, and bpflogd up.

год назад
Makefile.inc

build most of usr.sbin with -Werror-implicit-function-declaration ok florian@

11 лет назад