Displaying 1 50 of 169,022 commits (0.017s)

OpenBSD — lib/libutil check_expire.c

Use the backchannel for all error messages instead of syslog(3).
OK deraadt@ beck@
Delta File
+15 -16 lib/libutil/check_expire.c
+15 -16 1 file

OpenBSD — share/man/man5 port-modules.5

Delta File
+6 -2 share/man/man5/port-modules.5
+6 -2 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/bfd elfxx-mips.c

Fix "Bad value" error seen when building Mesa 11.0.6 which uses -Bsymbolic.

Inspired by https://sourceware.org/ml/binutils/2010-08/msg00333.html, but
expressed differently so there are no GPLv3 issues.

OpenBSD — libexec/login_lchpass login_lchpass.8

passwd no longer has an -l flag; ok deraadt

OpenBSD — share/man/man8 yp.8

remove rpc.yppasswdd bits;
Delta File
+2 -12 share/man/man8/yp.8
+2 -12 1 file

OpenBSD — libexec/login_radius login_radius.c

pledge in login_radius(8).

ok deraadt

OpenBSD — libexec Makefile, libexec/rpc.yppasswdd yppasswdd_mkpw.c rpc.yppasswdd.c

rpc.yppasswdd goes to the bitbucket.

(The story is that some people do use YP still as a libc -> non-file
lookup mechanism; some of them with standard ypbind/ypserv, but more
of them with ypbind/ypldap.  That however does not justify these cruddy
tools dealing with passwords, which are more likely to contain problems)

OpenBSD — usr.sbin/installboot i386_installboot.c landisk_installboot.c

Apply pledge.
The people I asked to review this did not get back to me, so
we will test this a different way.

OpenBSD — libexec/login_chpass login_chpass.c Makefile, usr.bin/chpass pw_yp.c chpass.c

Delete YP password related code.  As a result, these can also be
pledged.  Keep an eye out for regressions, because they could be
ok beck semarie

OpenBSD — usr.sbin/rpc.bootparamd bootparamd.c Makefile

Delete YP lookup code; user base of 0.

OpenBSD — distrib/sets/lists/comp mi

Delta File
+1 -0 distrib/sets/lists/comp/mi
+1 -0 1 file

OpenBSD — etc syslog.conf

Disable by default the *.emerg block; ok millert beck
Delta File
+2 -2 etc/syslog.conf
+2 -2 1 file

OpenBSD — games/tetris scores.c

Fix copy-paste error in scorefile name

From Ricardo Mestre
Delta File
+2 -2 games/tetris/scores.c
+2 -2 1 file

OpenBSD — games/canfield/canfield canfield.c, games/canfield/cfscores cfscores.c

Add checks for getenv(), snprintf() and getlogin().

From Ricardo Mestre (up to a small tweak).  Thanks!

OpenBSD — games/tetris scores.c

Add missing checks for getenv() and snprintf()

From Ricardo Mestre, thanks!
Delta File
+12 -6 games/tetris/scores.c
+12 -6 1 file

OpenBSD — share/man/man9 Makefile

mlink for SRPL_FOREACH_SAFE_LOCKED and tweak its description;
Delta File
+2 -1 share/man/man9/Makefile
+2 -1 1 file

OpenBSD — usr.bin/sndiod sndiod.c

Cleanup in the opposite order as initialization, inline privdrop()
function. No behaviour change.
Delta File
+17 -27 usr.bin/sndiod/sndiod.c
+17 -27 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/gas/doc as.texinfo, gnu/usr.bin/binutils/gas/doc as.texinfo

change the name "as" in the NAME section of the as(1) manuals to lowercase;
requested by and OK jmc@

OpenBSD — sys/arch/amd64/stand/libsa exec_i386.c

Fix a typo in comment.

OpenBSD — sys/netinet ip_output.c

Use rtalloc(9) to look for a local address (RTF_LOCAL) in ip_setmoptions().

This simplifies the if_get()/if_put() dance.

Tested by jasper@
Delta File
+17 -7 sys/netinet/ip_output.c
+17 -7 1 file

OpenBSD — usr.sbin/smtpd mta.c

Don't dereference a route and then reference it again. In this particular case,
the route would be referenced at least twice, so there is no use after free.

Prompted by a mail from David CARLIER to misc at opensmtpd.

OK eric@
Delta File
+5 -5 usr.sbin/smtpd/mta.c
+5 -5 1 file

OpenBSD — sbin/fdisk part.c cmd.c

When prompting for a GPT partition type, use the partition's current type as
default; OK krw@

OpenBSD — sbin/fdisk misc.c

When prompting for an LBA, show the min and max values in the prompt; OK krw@
Delta File
+3 -2 sbin/fdisk/misc.c
+3 -2 1 file

OpenBSD — usr.bin/mandoc mansearch.c

No point in trying to go on when elementary database operations
like preparing queries or binding variables fail; that won't yield
useful results anyway but may generate huge pointless error messages.
Issue reported by deraadt@.
Delta File
+10 -7 usr.bin/mandoc/mansearch.c
+10 -7 1 file

OpenBSD — lib/libc/yp yp_bind.c

remove the "YP server for domain %s not responding, still trying" code.
For years, it talked to stderr.  That was wrong.  Then it was converted
to opening /dev/tty, which is also wrong (pledge says so).  Upon
reconsideration people in these more modern times have adapted to all
sorts of services not being available, so axe the alert and retry
ok beck
Delta File
+1 -15 lib/libc/yp/yp_bind.c
+1 -15 1 file

OpenBSD — sbin/newfs_ext2fs mke2fs.c newfs_ext2fs.c

Instead, hoist TIOCGWINSZ up to the top, then "tty" pledge is not needed.

OpenBSD — sbin/newfs_ext2fs newfs_ext2fs.c

unbelievable.. this uses TIOCGWINSZ.. how did i miss that.  pledge "tty".
Delta File
+2 -2 sbin/newfs_ext2fs/newfs_ext2fs.c
+2 -2 1 file

OpenBSD — distrib/sets/lists/game mi

Delta File
+0 -3 distrib/sets/lists/game/mi
+0 -3 1 file

OpenBSD — lib/libc/gen pwcache.c

group_from_gid: use _GR_BUF_LEN instead of _PW_BUF_LEN
Delta File
+2 -2 lib/libc/gen/pwcache.c
+2 -2 1 file

OpenBSD — sys/arch/sparc64/sparc64 pmap.c

Don't bother keeping track of the resident count for the kernel pmap.
Delta File
+2 -5 sys/arch/sparc64/sparc64/pmap.c
+2 -5 1 file

OpenBSD — sbin/newfs newfs.c

We can't make a pledge if we're mount_mfs(8) as we need the ability to call

ok deraadt@
Delta File
+5 -3 sbin/newfs/newfs.c
+5 -3 1 file

OpenBSD — sbin/fdisk cmd.c

Try harder to prevent 0-length partitions from being defined.

Suggested by & ok tim@
Delta File
+10 -9 sbin/fdisk/cmd.c
+10 -9 1 file

OpenBSD — usr.bin/sndiod dev.c

fix latest: don't set d->path as we just allocated it
Delta File
+1 -2 usr.bin/sndiod/dev.c
+1 -2 1 file

OpenBSD — usr.bin/sndiod midi.c dev.c

Allocate device names in the heap, so they can be generated.
Delta File
+3 -2 usr.bin/sndiod/midi.c
+3 -1 usr.bin/sndiod/dev.c
+6 -3 2 files

OpenBSD — usr.bin/sndiod sock.h

Delta File
+2 -2 usr.bin/sndiod/sock.h
+2 -2 1 file

OpenBSD — distrib/sets/lists/comp mi

Delta File
+6 -1 distrib/sets/lists/comp/mi
+6 -1 1 file

OpenBSD — lib/libsndio sndio.7

-M option was removed, midi ports registered with -q
Delta File
+3 -3 lib/libsndio/sndio.7
+3 -3 1 file

OpenBSD — sbin/disklabel disklabel.c

-A needs cflag too. Noted by sthen@ during install.
Delta File
+2 -2 sbin/disklabel/disklabel.c
+2 -2 1 file

OpenBSD — share/man/man9 uvm.9 Makefile

add uvm_uarea_{alloc,free} to NAME and MLINKS;
found by schwarze;

ok schwarze guenther

OpenBSD — games/canfield/canfield canfield.c

Remove now unused gid_t variable.

From Ricardo Mestre.  Thanks!

go for it!  deraadt@

OpenBSD — games/tetris tetris.6

The scorefile is hidden.

From Ricardo Mestre, thanks!
Delta File
+4 -4 games/tetris/tetris.6
+4 -4 1 file

OpenBSD — lib/libc/hidden icdb.h

Wrap <icdb.h> so that calls go direct and the symbols are all weak

ok tedu@
Delta File
+35 -0 lib/libc/hidden/icdb.h
+35 -0 1 file

OpenBSD — sys/arch/octeon/dev if_cnmac.c

Simplify the setup of gather segments.
Delta File
+6 -40 sys/arch/octeon/dev/if_cnmac.c
+6 -40 1 file

OpenBSD — libexec/talkd talkd.8

rename internally to ntalkd, after the binary; this way both
"man talkd" and "man ntalkd" work;
issue reported by sobrado; fix from schwarze
Delta File
+10 -8 libexec/talkd/talkd.8
+10 -8 1 file

OpenBSD — sys/arch/sparc/dev if_ie.c qe.c, sys/dev/ic elink3.c lemac.c

Network drivers should not include <net/route.h> or <net/netisr.h>

OpenBSD — sys/arch/armv7/omap if_cpsw.c, sys/dev/ic i82596.c

Small fixes related to the IFF_OACTIVE removal.

OpenBSD — sbin/ifconfig ifconfig.c

Put back 1.305 without breaking the hand rolled inet_net_pton(3) case
for IPv4.

Tested by sebastia@ and krw@
Delta File
+9 -7 sbin/ifconfig/ifconfig.c
+9 -7 1 file

OpenBSD — usr.bin/tmux client.c

Don't print error if none to print.
Delta File
+2 -2 usr.bin/tmux/client.c
+2 -2 1 file

OpenBSD — lib/libc Makefile.inc

Make using a deprecated function an error instead of just a warning

ok millert@ kettenis@
Delta File
+5 -1 lib/libc/Makefile.inc
+5 -1 1 file

OpenBSD — sys/dev/isa fd.c spkr.c

add size to free
Delta File
+3 -3 sys/dev/isa/fd.c
+2 -2 sys/dev/isa/spkr.c
+5 -5 2 files