Displaying 1 50 of 396,559 commits (0.027s)

OpenBSD — usr.bin/tmux server.c server-fn.c

Convert clients list into a TAILQ.

OpenBSD — usr.bin/tmux cmd-if-shell.c cmd-run-shell.c

Set working directory for run-shell and if-shell.

OpenBSD — usr.bin/vi/common recover.c exf.c, usr.bin/vi/ex ex_cscope.c tag.h

struct timespec/clock_gettime(3) conversion for vi(1).

ok guenther@

OpenBSD — usr.bin/tmux cmd-set-option.c

Allow choice options (multiple states) to be toggled between states 0
and 1.
Delta File
+28 -16 usr.bin/tmux/cmd-set-option.c
+28 -16 1 file

OpenBSD — usr.sbin/pwd_mkdb pwd_mkdb.c

Write (uid_t)-1 as -1 instead of UID_MAX in the v7 passwd file.
OK deraadt@
Delta File
+26 -7 usr.sbin/pwd_mkdb/pwd_mkdb.c
+26 -7 1 file

OpenBSD — lib/libutil passwd.c

Use strtonum() instead of strtoul() when parsing uid/gid so we get
consistent handling of negative ids on 32bit/64bit systems.
The only negative uid/gid allowed is -1 which is special-cased
so it can be preserved when writing the new master.passwd file
instead of being written as an unsigned number.  OK deraadt@
Delta File
+51 -48 lib/libutil/passwd.c
+51 -48 1 file

OpenBSD — share/man/man4 ucom.4, share/man/man7 hier.7

no more tip(1); ok nicm
Delta File
+3 -3 share/man/man4/ucom.4
+3 -3 share/man/man7/hier.7
+6 -6 2 files

OpenBSD — usr.bin/tmux client.c

Set up signal handler earlier so that we don't get zombies, reported by
sobrado@.
Delta File
+4 -4 usr.bin/tmux/client.c
+4 -4 1 file

OpenBSD — usr.bin/file file.1

Document -h, and bring some consistency to the option descriptions. ok jmc
Delta File
+7 -5 usr.bin/file/file.1
+7 -5 1 file

OpenBSD — usr.bin/file file.1

tweaks; ok nicm
Delta File
+10 -7 usr.bin/file/file.1
+10 -7 1 file

OpenBSD — sys/arch/i386/i386 autoconf.c

Enable PAE mode for those CPUs that support it. This allows us to use the
NX bit for userland and kernel W^X. Unlike the previous c.2008 PAE
experiment, this does not provide > 4GB phys ram on i386 - PAE is solely
being used for NX capability this time. If you need > 4GB phys, use amd64.

Userland W^X was committed yesterday by kettenis@, and we will shortly
start reworking the kernel like we did for amd64 a few months back to get
kernel W^X.

This has been in snaps for a few days and tested by kettenis and myself
as well.

ok deraadt@, kettenis@
Delta File
+1 -3 sys/arch/i386/i386/autoconf.c
+1 -3 1 file

OpenBSD — sys/arch/i386/i386 pmapae.c

Make sure we keep the whole recursive mapping of the PDP instead of just the
mapping for the first page when tearing things down.  Seems to fix the last
bug mlarkin@ has been chasing for a while.

ok mlarkin@
Delta File
+3 -3 sys/arch/i386/i386/pmapae.c
+3 -3 1 file

OpenBSD — distrib/sets/lists/base mi, distrib/sets/lists/man mi

sync

OpenBSD — share/man/man5 remote.5

Trim down remote(5) to reflect what is supported by cu(1).

ok sthen jmc
Delta File
+16 -272 share/man/man5/remote.5
+16 -272 1 file

OpenBSD — usr.bin/cu cu.1

remove the old tip SCCS note
Delta File
+2 -4 usr.bin/cu/cu.1
+2 -4 1 file

OpenBSD — usr.bin Makefile, usr.bin/tip cmds.c tip.1

Remove tip(1), superseded by cu(1).

ok deraadt sthen bmercer
Delta File
+0 -976 usr.bin/tip/cmds.c
+0 -558 usr.bin/tip/tip.1
+0 -520 usr.bin/tip/tip.c
+0 -431 usr.bin/tip/value.c
+0 -228 usr.bin/tip/tip.h
+0 -210 usr.bin/tip/tipout.c
+2 -517 7 files not shown
+2 -3,440 13 files

OpenBSD — usr.bin/file file.c file.1

Do not attempt to use ~/.magic if running as root (or issetugid()).
Delta File
+19 -17 usr.bin/file/file.c
+4 -2 usr.bin/file/file.1
+23 -19 2 files

OpenBSD — usr.bin/file magic-test.c

move an ugly space
Delta File
+2 -2 usr.bin/file/magic-test.c
+2 -2 1 file

OpenBSD — usr.bin/file file.c

We need to loop over the files once to work out the width of the labels
before testing them.
Delta File
+17 -8 usr.bin/file/file.c
+17 -8 1 file

OpenBSD — usr.bin/file file.c file.h

Trying to drop privileges means we can't handle ARG_MAX arguments, so
remove it for now.
Delta File
+14 -26 usr.bin/file/file.c
+1 -4 usr.bin/file/file.h
+15 -30 2 files

OpenBSD — usr.bin/file magic-load.c text.c

Add a couple of missing spaces (style nits).

OpenBSD — usr.bin/file file.c

Use symbolic constants for st_mode flags, no binary change.
Delta File
+3 -3 usr.bin/file/file.c
+3 -3 1 file

OpenBSD — usr.bin/file file.c

If ~/.magic exists but can't be used, fail rather than silently falling
back to /etc/magic.
Delta File
+5 -1 usr.bin/file/file.c
+5 -1 1 file

OpenBSD — usr.bin/file/magdir inform maple

Fix a couple of errors in the magic source files.

OpenBSD — usr.bin/file apprentice.c softmagic.c

New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt
Delta File
+0 -2,129 usr.bin/file/apprentice.c
+0 -1,821 usr.bin/file/softmagic.c
+1,121 -0 usr.bin/file/magic-test.c
+1,020 -0 usr.bin/file/magic-load.c
+0 -1,020 usr.bin/file/readelf.c
+451 -413 usr.bin/file/file.c
+717 -4,772 26 files not shown
+3,309 -10,155 32 files

OpenBSD — sys/arch/powerpc/include atomic.h

Revert back to using GCC builtins.  This code triggers an off by one in
device_unref() as found by deraadt@.
Delta File
+2 -168 sys/arch/powerpc/include/atomic.h
+2 -168 1 file

OpenBSD — sys/dev/acpi acpithinkpad.c

another thinkpad event to ignore; from mp39590 at gmail
Delta File
+3 -1 sys/dev/acpi/acpithinkpad.c
+3 -1 1 file

OpenBSD — sys/dev/pci if_vio.c

vio: If enqueue fails, drop packet.

From brad@
Delta File
+5 -7 sys/dev/pci/if_vio.c
+5 -7 1 file

OpenBSD — sys/arch/i386/i386 locore.s mptramp.s

Enable the NX bit and use it in the PAE pmap code.  PAE is still disabled
while we're chasing at least one remaining bug.

ok mlarkin@, deraadt@

OpenBSD — bin/ls ls.1

improve wording.

ok jmc@
Delta File
+3 -3 bin/ls/ls.1
+3 -3 1 file

OpenBSD — usr.sbin/user user.c

read_defaults has the thing for strtonum to chew on in cp, not
optarg.

fixes a segfault introduced by the atoi to strtonum change and
reported by ajacatout@
Delta File
+2 -2 usr.sbin/user/user.c
+2 -2 1 file

OpenBSD — usr.bin/ssh ssh-agent.1 ssh-agent.c

combine -Dd onto one line and update usage();

OpenBSD — usr.bin/ssh ssh-agent.c ssh-agent.1

add ssh-agent -D to leave ssh-agent in foreground without enabling
debug mode; bz#2381 ok dtucker@
Delta File
+15 -8 usr.bin/ssh/ssh-agent.c
+9 -3 usr.bin/ssh/ssh-agent.1
+24 -11 2 files

OpenBSD — sys/arch/amd64/amd64 intr.c

Use "softintr_pic0" instead of "softintr_fakepic" when faking a
struct device so there is enough space in the buffer for a NUL and
the unit is included in the string.

discussed with deraadt and millert
Delta File
+2 -2 sys/arch/amd64/amd64/intr.c
+2 -2 1 file

OpenBSD — usr.bin/ssh uuencode.c

2*len -> use xreallocarray()
ok djm
Delta File
+2 -2 usr.bin/ssh/uuencode.c
+2 -2 1 file

OpenBSD — usr.bin/ssh xmalloc.c channels.c

rename xrealloc() to xreallocarray() since it follows that form.
ok djm

OpenBSD — usr.sbin/user user.c

Replace atoi() usage with strtonum().  OK deraadt@
Delta File
+62 -72 usr.sbin/user/user.c
+62 -72 1 file

OpenBSD — usr.sbin/relayd relay.c

We cannot log errors with relay_close() before allocating
se_log evbuffer.
(Same problem as the one just fixed in httpd(8))
OK benno
Delta File
+7 -9 usr.sbin/relayd/relay.c
+7 -9 1 file

OpenBSD — usr.sbin/httpd server.c

We cannot log errors with server_close() before allocating
clt_log evbuffer.
server_close() calls server_log() which uses ctl_log.
Crash reported by Daniel Jakots <vigdis AT chown DOT me>, thanks!
OK benno
Delta File
+6 -8 usr.sbin/httpd/server.c
+6 -8 1 file

OpenBSD — usr.bin/mandoc man.c roff.c

Unify mdoc_deroff() and man_deroff() into a common function deroff().
No functional change except that for mdoc(7), it now skips leading
escape sequences just like it already did for man(7).
Escape sequences rarely occur in mdoc(7) code and if they do,
skipping them is an improvement in this context.
Minus 30 lines of code.

OpenBSD — usr.bin/mandoc man.c mdoc.c

Get rid of two empty wrapper functions.  No functional change.

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

Fix 13 years old typo that should be responsible for the unhappiness
of UVM on PowerPC architectures by breaking pmap_is_referenced() and
friends.

ok kettenis@
Delta File
+2 -2 sys/arch/powerpc/powerpc/pmap.c
+2 -2 1 file

OpenBSD — sys/uvm uvm_page.c uvm.h

tedu remnants of the previous attempt to implement page zeroing in
the idle thread.

ok deraadt@
Delta File
+1 -13 sys/uvm/uvm_page.c
+1 -3 sys/uvm/uvm.h
+2 -16 2 files

OpenBSD — sys/net pipex.c if.c

replace the use of struct ifqueue in pipex with mbuf_queues.

this has a slight semantic change. previously pipex would only
process up to 128 packets on the input and output queues at a time
and would reschedule the softint if there were any left. now it
mq_delists the current set of pending packets and only processes
them. if anything is added to the queues later they'll cause the
softint to run again.

this in turn lets us deprecate sysctl_ifq since nothing uses it
anymore. because niqueues are mostly wrappers around mbuf_queues,
we can provide sysctl_mq and just #define sysctl_niq to it.

pipex bits are ok yasuoka@
Delta File
+23 -56 sys/net/pipex.c
+6 -28 sys/net/if.c
+5 -5 sys/net/if_var.h
+2 -3 sys/net/pipex_local.h
+36 -92 4 files

OpenBSD — usr.bin/tmux grid.c

use reallocarray instead of calloc; avoid the zero before infill
ok nicm
Delta File
+2 -2 usr.bin/tmux/grid.c
+2 -2 1 file

OpenBSD — lib/libssl/src/crypto/bio b_dump.c

Do not need to buf[0] = 0 before strlcpy(buf, ...

OpenBSD — usr.sbin/config ukc.c

delete a NOTDEF of unused code
Delta File
+1 -25 usr.sbin/config/ukc.c
+1 -25 1 file

OpenBSD — usr.sbin/zdump zdump.c, usr.sbin/zic zic.c

KNF and other style adjustments to make this more scrutible.
reviewed by millert
Delta File
+402 -425 usr.sbin/zic/zic.c
+126 -228 usr.sbin/zdump/zdump.c
+528 -653 2 files

OpenBSD — regress/usr.bin/ssh cfgparse.sh Makefile

Add a simple regression test for sshd's configuration parser.  Right now,
all it does is run the output of sshd -T back through itself and ensure
the output is valid and invariant.

OpenBSD — usr.bin/ssh servconf.c

Two small fixes for sshd -T: ListenAddress'es are added to a list head so
reverse the order when printing them to ensure the behaviour remains the same,
and print StreamLocalBindMask as octal with leading zero.  ok deraadt@
Delta File
+22 -5 usr.bin/ssh/servconf.c
+22 -5 1 file