CVS: cvs.openbsd.org: src

2024-06-17 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2024/06/17 06:59:28

Modified files:
lib/libm/man   : feclearexcept.3 

Log message:
Fix typo: s/fetesteexcept/fetestexcept/



CVS: cvs.openbsd.org: src

2021-08-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/08/06 13:14:55

Modified files:
etc: locate.rc 

Log message:
s/updatedb(8)/locate.updatedb(8)/ in comment

OK schwarze@



CVS: cvs.openbsd.org: src

2020-10-09 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/10/09 13:12:36

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
Escape ! in Ql

OK jmc@ nicm@, agreement from schwarze@



CVS: cvs.openbsd.org: src

2020-08-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/08/05 05:10:24

Modified files:
share/man/man9 : vgone.9 vrecycle.9 

Log message:
Document the p argument of vgonel(9) and vrecycle(9).

Spotted by schwarze@, discussed with kn@ and schwarze@



CVS: cvs.openbsd.org: src

2020-08-02 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/08/02 13:32:08

Modified files:
share/man/man9 : vgone.9 

Log message:
The difference between vgone(9) and vgonel(9) has changed after the
removal of the vnode interlock in 2007.

Reported by and original diff from Dominik Schreilechner.

OK jmc@



CVS: cvs.openbsd.org: src

2020-07-23 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/07/23 03:17:03

Modified files:
sys/dev/rasops : rasops.c 

Log message:
Fix comments to match code; OK fcambus@



CVS: cvs.openbsd.org: src

2020-06-17 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/06/17 09:34:11

Modified files:
usr.bin/awk: awk.1 

Log message:
Document that rand() returns non-deterministic random numbers unless a
seed is explicitly set.

OK millert@



CVS: cvs.openbsd.org: xenocara

2020-03-20 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2020/03/20 12:50:08

Modified files:
app/cwm: kbfunc.c 

Log message:
Simplify conditional construct.

OK okan@



CVS: cvs.openbsd.org: xenocara

2020-03-16 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2020/03/16 11:50:44

Modified files:
app/cwm: client.c 

Log message:
Recommit 1.259, but now with TAILQ_FOREACH_SAFE.

>From and OK okan@

Original commit message:

Plug two memory leaks. Also get rid of a variable that is no longer
necessary.

OK okan@



CVS: cvs.openbsd.org: xenocara

2020-03-14 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2020/03/14 10:11:09

Modified files:
app/cwm: client.c 

Log message:
Revert previous. Causes a crash as reported by Tom Murphy.



CVS: cvs.openbsd.org: xenocara

2020-03-13 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2020/03/13 14:50:08

Modified files:
app/cwm: cwmrc.5 

Log message:
Simplify list markup.

OK okan@ schwarze@



CVS: cvs.openbsd.org: xenocara

2020-03-13 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2020/03/13 14:49:14

Modified files:
app/cwm: client.c 

Log message:
Plug two memory leaks. Also get rid of a variable that is no longer
necessary.

OK okan@



CVS: cvs.openbsd.org: src

2019-12-21 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/12/21 10:30:48

Modified files:
usr.bin/tmux   : cmd-source-file.c 

Log message:
Restore source-file -q behaviour, broken in r1.42; OK nicm@



CVS: cvs.openbsd.org: src

2019-11-21 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/11/21 13:02:20

Modified files:
lib/libcrypto/hkdf: hkdf.c 

Log message:
A touch of style(9)

OK tb@ tedu@



CVS: cvs.openbsd.org: src

2019-11-21 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/11/21 13:01:06

Modified files:
lib/libcrypto/hkdf: hkdf.c 

Log message:
Use explicit_bzero() to clear key material

OK tb@ tedu@



CVS: cvs.openbsd.org: src

2019-08-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/08/12 14:57:31

Modified files:
usr.sbin/smtpd : smtpd.conf.5 

Log message:
Mark up no-verify with Cm; OK jmc@ gilles@



CVS: cvs.openbsd.org: src

2019-08-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/08/12 14:56:23

Modified files:
usr.sbin/smtpd : mail.lmtp.c 

Log message:
Prepend a dot to every line that starts with a dot -- not merely the
ones that consist of a single dot.

OK gilles@



CVS: cvs.openbsd.org: src

2019-08-11 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/08/11 15:05:02

Modified files:
usr.sbin/smtpd : mail.lmtp.c 

Log message:
Change all error exits to EX_TEMPFAIL so that mail rejected by the LMTP
server stays queued instead of being bounced.

Also improve getline(3) error handling and remove unreachable code.

OK sunil@ a while ago, "please get it in" gilles@



CVS: cvs.openbsd.org: src

2019-05-18 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/18 08:02:27

Modified files:
sys/dev: softraid.c 

Log message:
Correct free size. Fixes a panic when detaching crypto volumes.

OK jan@, "yes please" tedu@



CVS: cvs.openbsd.org: src

2019-05-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/12 12:52:44

Modified files:
etc/rc.d   : nsd 

Log message:
Stop generating keys for nsd-control(8). These are unused since nsd was
switched to using a local control socket by default.

OK florian@ sthen@



CVS: cvs.openbsd.org: xenocara

2019-04-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2019/04/29 13:03:20

Modified files:
app/cwm: util.c 

Log message:
Plug a memory leak in log_debug(); OK okan@



CVS: cvs.openbsd.org: xenocara

2019-04-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2019/04/29 13:02:21

Modified files:
app/cwm: xevents.c 

Log message:
Handle _NET_WM_NAME changes.

This fixes the problem where cwm's window menu wouldn't show Firefox's current
window title if it contains non-ASCII characters.

OK okan@



CVS: cvs.openbsd.org: src

2018-12-16 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/12/16 13:41:30

Modified files:
etc: unbound.conf 

Log message:
Remove control-use-cert. It is ignored for local sockets (since unbound 1.7.3).

OK florian@ sthen@



CVS: cvs.openbsd.org: src

2018-06-28 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/06/28 11:40:10

Modified files:
usr.sbin/smtpd : smtpd.c 

Log message:
Don't ignore -n; OK gilles@



CVS: cvs.openbsd.org: src

2018-03-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/03/06 13:56:37

Modified files:
sbin/sysctl: sysctl.c 

Log message:
Fix a small mistake from r1.229 causing sysctl(8) to print "newval -> newval"
instead of "oldval -> newval" when changing a string variable.

OK florian@



Re: CVS: cvs.openbsd.org: src

2017-07-04 Thread Tim van der Molen
Ricardo Mestre (2017-07-04 18:22 +0200):
> What about applying the pledge early on only if snaplen is not being defined,
> but if it is then call pledge as well but only after the filter is applied
> (this is where the offending ioctl is called)?

I think there are two problems with this approach:

- It doesn't cover the case where -s has not been used, but the logfile
  does have a nonstandard snaplen.

- If the logfile has a different snaplen, then the snaplen will have to
  be changed for a second time later on, when the logfile has been
  rotated. But at that point pledge has already been called.

> A better strategy probably would involve something similar to tcpdump to check
> if PRIV_INIT_DONE was reached and only apply the single pledge there, but that
> involves quite some restructure. So is the below OK? If not then the best for
> now is to put back the pledge inside #if 0.
> 
> Index: pflogd.c
> ===
> RCS file: /cvs/src/sbin/pflogd/pflogd.c,v
> retrieving revision 1.53
> diff -u -p -u -r1.53 pflogd.c
> --- pflogd.c  16 Jan 2016 03:17:48 -  1.53
> +++ pflogd.c  4 Jul 2017 16:10:51 -
> @@ -557,6 +557,7 @@ main(int argc, char **argv)
>   const char *errstr = NULL;
>  
>   ret = 0;
> + setsnaplen = 0;
>  
>   closefrom(STDERR_FILENO + 1);
>  
> @@ -583,6 +584,7 @@ main(int argc, char **argv)
>   snaplen = DEF_SNAPLEN;
>   if (errstr)
>   snaplen = PFLOGD_MAXSNAPLEN;
> + setsnaplen = 1;
>   break;
>   case 'x':
>   Xflag = 1;
> Index: pflogd.h
> ===
> RCS file: /cvs/src/sbin/pflogd/pflogd.h,v
> retrieving revision 1.5
> diff -u -p -u -r1.5 pflogd.h
> --- pflogd.h  10 Oct 2015 22:36:06 -  1.5
> +++ pflogd.h  4 Jul 2017 16:10:51 -
> @@ -47,3 +47,4 @@ void send_fd(int, int);
>  int  receive_fd(int);
>  
>  extern int Debug;
> +int setsnaplen;
> Index: privsep.c
> ===
> RCS file: /cvs/src/sbin/pflogd/privsep.c,v
> retrieving revision 1.25
> diff -u -p -u -r1.25 privsep.c
> --- privsep.c 12 Jun 2017 23:37:44 -  1.25
> +++ privsep.c 4 Jul 2017 16:10:51 -
> @@ -118,8 +118,10 @@ priv_init(void)
>   setproctitle("[priv]");
>   close(socks[1]);
>  
> - if (pledge("stdio rpath wpath cpath sendfd proc bpf", NULL) == -1)
> - err(1, "pledge");
> + if (setsnaplen == 0) {
> + if (pledge("stdio rpath wpath cpath sendfd proc bpf", NULL) == 
> -1)
> + err(1, "pledge");
> + }
>  
>   while (!gotsig_chld) {
>   if (may_read(socks[0], , sizeof(int)))
> @@ -185,6 +187,9 @@ set_snaplen(int snap)
>  
>   hpcap->snapshot = snap;
>   set_pcap_filter();
> +
> + if (pledge("stdio rpath wpath cpath sendfd proc bpf", NULL) == -1)
> + err(1, "pledge");
>  
>   return 0;
>  }



Re: CVS: cvs.openbsd.org: src

2017-07-04 Thread Tim van der Molen
Ricardo Mestre (2017-06-13 01:37 +0200):
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mes...@cvs.openbsd.org  2017/06/12 17:37:44
> 
> Modified files:
>   sbin/pflogd: privsep.c 
> 
> Log message:
> pledge(2) bpf has been in use for some time now on tcpdump(8), this will 
> enable
> it also for pflogd(8)'s priv proc.
> 
> OK deraadt@

This is a problem if the logfile has a different snaplen:

sigma:/usr/src/sbin/pflogd $ doas obj/pflogd -Ds 200
[priv]: msg PRIV_OPEN_LOG received
Existing file has different snaplen 160, using it
[priv]: msg PRIV_SET_SNAPLENGTH received
Abort trap (core dumped)

dmesg:

pflogd(27017): syscall 54 "tty"

Backtrace:

#0  0x10e809fd8f9a in ioctl () at {standard input}:5
#1  0x10e817f4ee76 in pcap_setfilter (p=0x10e81e1cfe00, fp=0x7f7e13d0) 
at /usr/src/lib/libpcap/pcap-bpf.c:923
#2  0x10e603201624 in set_pcap_filter () at 
/usr/src/sbin/pflogd/pflogd.c:188
#3  0x10e603202384 in priv_init () at /usr/src/sbin/pflogd/privsep.c:187
#4  0x10e603201a0b in main (argc=3, argv=0x7f7e1918) at 
/usr/src/sbin/pflogd/pflogd.c:633

/usr/src/lib/libpcap/pcap-bpf.c:923:

} else if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) {



Re: CVS: cvs.openbsd.org: www

2016-08-06 Thread Tim van der Molen
bytevolc...@safe-mail.net (2016-08-06 02:30 +0200):
> Tim van der Molen wrote:
> > CVSROOT:/cvs
> > Module name:www
> > Changes by: t...@cvs.openbsd.org2016/08/05 16:14:37
> > 
> > Modified files:
> > .  : plus60.html plus.html
> > 
> > Log message:
> > Move 6.0 changes
> > 
> The top of plus.html still says "Changes made between OpenBSD 5.9 and
> -current".

Fixed; thanks.



CVS: cvs.openbsd.org: www

2016-08-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/06 07:13:19

Modified files:
.  : plus.html 

Log message:
Bump version. Noticed by bytevolcano at safe-mail dot net.



CVS: cvs.openbsd.org: www

2016-08-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/05 16:21:08

Modified files:
.  : plus60.html 

Log message:
Simplify man links



CVS: cvs.openbsd.org: www

2016-08-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/05 16:14:37

Modified files:
.  : plus60.html plus.html 

Log message:
Move 6.0 changes



CVS: cvs.openbsd.org: www

2016-08-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/05 16:10:20

Modified files:
.  : plus.html 

Log message:
July 16-26. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-08-04 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/04 16:29:31

Modified files:
.  : plus.html 

Log message:
July 1-15



CVS: cvs.openbsd.org: www

2016-08-02 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/08/02 15:20:46

Modified files:
.  : plus.html 

Log message:
June 8-30. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-07-28 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/07/28 16:47:22

Modified files:
.  : plus.html 

Log message:
June 1-7. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-07-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/07/05 16:20:08

Modified files:
.  : plus.html 

Log message:
Maggio



CVS: cvs.openbsd.org: src

2016-07-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/07/05 11:41:59

Modified files:
sbin/sysctl: sysctl.8 

Log message:
Remove kern.random remnants; OK deraadt@



CVS: cvs.openbsd.org: src

2016-07-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/07/05 05:43:02

Modified files:
share/man/man4 : Makefile 

Log message:
Hook up the pcfrtc(4) manual; OK kettenis@



CVS: cvs.openbsd.org: www

2016-07-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/07/03 05:20:30

Modified files:
.  : plus.html 

Log message:
April 16-30. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-07-02 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/07/02 17:53:52

Modified files:
.  : plus.html 

Log message:
April 8-15. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-06-09 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/06/09 10:55:11

Modified files:
.  : plus.html 

Log message:
April 1-7. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: src

2016-06-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/06/06 23:52:49

Modified files:
lib/libc/gen   : sysctl.3 
sbin/sysctl: sysctl.8 

Log message:
Document the net.inet.tcp.synuselimit sysctl; OK bluhm@ jmc@



CVS: cvs.openbsd.org: www

2016-06-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/06/06 12:00:17

Modified files:
.  : plus.html 

Log message:
March 16-31. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: www

2016-06-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/06/03 15:48:00

Modified files:
.  : plus.html plus22.html plus26.html plus48.html 
 plus54.html plus55.html 

Log message:
Fix several minor issues.



CVS: cvs.openbsd.org: www

2016-06-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/06/03 15:43:15

Modified files:
.  : plus.html 

Log message:
Feb 25 till Mar 15. Based on a diff from Rafael Neves.



CVS: cvs.openbsd.org: src

2016-05-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/05/12 10:05:33

Modified files:
usr.bin/tmux   : cfg.c cmd-source-file.c tmux.1 tmux.h 

Log message:
- Rework load_cfg() error handling a little.
- Add -q to source-file to suppress errors about nonexistent files.

Input and OK nicm@



CVS: cvs.openbsd.org: src

2016-05-10 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/05/10 14:20:43

Modified files:
bin/ln : ln.c 

Log message:
Fix operator precedence error; OK guenther@ millert@



CVS: cvs.openbsd.org: src

2016-05-08 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/05/08 14:27:43

Modified files:
usr.bin/passwd : local_passwd.c 

Log message:
Switch to getpwnam_shadow() now that getpwnam() no longer opens the shadow
database; OK deraadt@ sthen@



CVS: cvs.openbsd.org: src

2016-03-27 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/03/27 12:15:51

Modified files:
usr.bin/calendar/calendars: calendar.music 
usr.bin/calendar/calendars/de_DE.UTF-8: calendar.musik 

Log message:
Fix spelling of "Beverly Hills". From Carson Chittom.



CVS: cvs.openbsd.org: www

2016-03-07 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/07 14:40:47

Modified files:
.  : plus59.html 

Log message:
February 1-15. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-07 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/07 11:58:34

Modified files:
.  : plus59.html 

Log message:
January 16-31. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-06 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/06 16:18:42

Modified files:
.  : plus59.html 

Log message:
January 1-15. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-04 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/04 13:23:02

Modified files:
.  : plus59.html 

Log message:
Tweaks, reported by tj@



CVS: cvs.openbsd.org: www

2016-03-04 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/04 09:08:34

Modified files:
.  : plus59.html 

Log message:
December 16-31. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/03 16:52:30

Modified files:
.  : plus59.html 

Log message:
December 8-15. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/03 15:33:31

Modified files:
.  : plus59.html 

Log message:
December 1-7. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-03 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/03 11:48:26

Modified files:
.  : plus59.html 

Log message:
November 16-30. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: src

2016-03-02 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/03/02 10:51:28

Modified files:
games/canfield/canfield: canfield.6 

Log message:
Fix score file name



CVS: cvs.openbsd.org: www

2016-03-02 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/02 09:39:59

Modified files:
.  : plus59.html 

Log message:
Tweaks



CVS: cvs.openbsd.org: www

2016-03-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/01 15:10:17

Modified files:
.  : plus59.html 

Log message:
November 1-15. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-03-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/03/01 08:04:53

Modified files:
.  : plus59.html 

Log message:
October 16-31. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: src

2016-02-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/29 16:51:14

Modified files:
lib/libc/gen   : sysctl.3 

Log message:
Add NET_RT_IFNAMES; OK deraadt@



CVS: cvs.openbsd.org: www

2016-02-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/02/29 14:29:06

Modified files:
.  : plus59.html 

Log message:
Fix previous



CVS: cvs.openbsd.org: www

2016-02-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/02/29 14:16:42

Modified files:
.  : plus.html 

Log message:
Fix previous



CVS: cvs.openbsd.org: www

2016-02-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/02/29 12:50:51

Modified files:
.  : plus.html 

Log message:
October 1-15. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: www

2016-02-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2016/02/29 12:48:02

Modified files:
.  : plus.html 

Log message:
September 28-30. From Rafael Neves with tweaks.



CVS: cvs.openbsd.org: src

2016-02-28 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/28 14:55:36

Modified files:
sbin/ifconfig  : ifconfig.8 

Log message:
Add a missing Ns macro



CVS: cvs.openbsd.org: src

2016-02-11 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/11 12:30:04

Modified files:
usr.sbin/httpd : server_http.c 

Log message:
Back out previous; requested by jung@



CVS: cvs.openbsd.org: src

2016-02-11 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/11 09:14:11

Modified files:
usr.sbin/httpd : server_http.c 

Log message:
Include the server port number in the common and combined logs. This is useful
to distinguish between http and https requests.

OK florian@ reyk@ a while ago



CVS: cvs.openbsd.org: src

2016-02-11 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/11 09:34:12

Modified files:
usr.bin/vi/cl  : cl_screen.c 

Log message:
Update comment: the #ifdef VDSUSP was removed in r1.22.



CVS: cvs.openbsd.org: src

2016-02-11 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2016/02/11 09:30:35

Modified files:
lib/libc/sys   : pledge.2 
lib/libsndio   : sio_open.3 

Log message:
Document how to use sndio in pledged programs.

Input and OK jmc@ ratchov@ semarie@



CVS: cvs.openbsd.org: src

2015-12-23 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/23 14:16:17

Modified files:
sbin/mountd: Makefile mountd.c 

Log message:
Add privilege separation and pledge().

A privileged (that is, unpledged) child is forked that makes the "unpledgable"
getfh(2) and mount(2) calls. It also takes care of writing /var/db/mountdtab so
that the parent does not have to pledge "cpath wpath".

This, then, allows the parent to pledge "stdio rpath inet dns".

Suggestions and OK deraadt@



CVS: cvs.openbsd.org: src

2015-12-23 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/23 14:32:52

Modified files:
sbin/mountd: mountd.c 

Log message:
Remove unnecessary SIGSYS/ENOSYS handling for getfh(2).

Encouragement from deraadt@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/19 11:59:10

Modified files:
lib/libc/net   : gethostbyname.3 

Log message:
gethostbyname2() and gethostbyaddr() need ; discussed with
millert@



CVS: cvs.openbsd.org: src

2015-12-15 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/15 11:24:18

Modified files:
sbin/mountd: mountd.8 

Log message:
Document /var/db/mountdtab



CVS: cvs.openbsd.org: src

2015-12-15 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/15 11:17:34

Modified files:
sbin/mountd: mountd.c 

Log message:
When (re)reading /etc/exports, handle the case where the mount point of an
export is not also the mount point of a local filesystem. In this case, the
local filesystem would not be removed from the "unexport list", causing the
export to be "unexported" again.

This fix then also allows us to actually delete an export that has been removed
from /etc/exports, by passing the MNT_DELEXPORT export flag to mount(2).

Makes sense to millert@.



CVS: cvs.openbsd.org: src

2015-12-15 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/15 11:25:28

Modified files:
sbin/mountd: exports.5 

Log message:
Include RFC number in reference. While here, improve formatting of another
reference.



Re: CVS: cvs.openbsd.org: src

2015-12-02 Thread Tim van der Molen
Tim van der Molen (2015-12-01 22:34 +0100):
> Tim van der Molen (2015-12-01 21:23 +0100):
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: t...@cvs.openbsd.org2015/12/01 13:23:46
> > 
> > Modified files:
> > libexec/rpc.rusersd: rusersd.c 
> > 
> > Log message:
> > Don't fall back to user nobody if _rusersd doesn't exist; "Of course!" 
> > deraadt@
> 
> This commit and the two after were also OK millert@.

And OK jasper@.



CVS: cvs.openbsd.org: src

2015-12-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/01 13:23:46

Modified files:
libexec/rpc.rusersd: rusersd.c 

Log message:
Don't fall back to user nobody if _rusersd doesn't exist; "Of course!" deraadt@



Re: CVS: cvs.openbsd.org: src

2015-12-01 Thread Tim van der Molen
Tim van der Molen (2015-12-01 21:23 +0100):
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   t...@cvs.openbsd.org2015/12/01 13:23:46
> 
> Modified files:
>   libexec/rpc.rusersd: rusersd.c 
> 
> Log message:
> Don't fall back to user nobody if _rusersd doesn't exist; "Of course!" 
> deraadt@

This commit and the two after were also OK millert@.



CVS: cvs.openbsd.org: src

2015-12-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/01 13:27:06

Modified files:
libexec/rpc.rstatd: rpc.rstatd.8 
libexec/rpc.rusersd: rpc.rusersd.8 

Log message:
rpc.rstatd(8) and rpc.rusersd(8) don't run as user nobody for quite some time.



CVS: cvs.openbsd.org: src

2015-12-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/01 13:25:17

Modified files:
libexec/rpc.rstatd: rstatd.c 

Log message:
Remove superfluous check; "Of course" deraadt@



CVS: cvs.openbsd.org: src

2015-11-29 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/29 10:20:48

Modified files:
sbin/mountd: mountd.8 

Log message:
Include RFC number in reference



CVS: cvs.openbsd.org: src

2015-11-26 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/26 01:15:07

Modified files:
sbin/fdisk : cmd.c gpt.c misc.c part.c part.h 

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



CVS: cvs.openbsd.org: src

2015-11-26 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/26 01:10:43

Modified files:
sbin/fdisk : misc.c 

Log message:
When prompting for an LBA, show the min and max values in the prompt; OK krw@



CVS: cvs.openbsd.org: src

2015-11-26 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/26 01:51:22

Modified files:
usr.sbin/smtpd : mta.c 

Log message:
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@opensmtpd.

OK eric@



Re: CVS: cvs.openbsd.org: src

2015-11-26 Thread Tim van der Molen
Tim van der Molen (2015-11-26 09:15 +0100):
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   t...@cvs.openbsd.org2015/11/26 01:15:07
> 
> Modified files:
>   sbin/fdisk : cmd.c gpt.c misc.c part.c part.h 
> 
> Log message:
> When prompting for a GPT partition type, use the partition's current type as
> default; OK krw@

I forgot to mention that this commit incorporated a few useful
suggestions from krw@. Apologies.



CVS: cvs.openbsd.org: src

2015-11-22 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/22 11:28:01

Modified files:
usr.bin/tmux   : options-table.c status.c tmux.1 

Log message:
If display-time is set to 0, show status messages until a key is pressed;
OK nicm@



CVS: cvs.openbsd.org: src

2015-11-20 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/20 14:05:52

Modified files:
lib/libc/uuid  : uuid.3 

Log message:
Document that the status argument may be NULL; OK millert@



CVS: cvs.openbsd.org: src

2015-11-19 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/19 11:03:45

Modified files:
sbin/fdisk : cmd.c 

Log message:
When an existing partition is modified in LBA mode, ensure that the partition
table is marked dirty so that it gets written when "quit" is issued.

This commit contains the MBR part of the fix only. The GPT code needs a few
adjustments before the GPT part can be fixed properly.

OK krw@



CVS: cvs.openbsd.org: www

2015-11-16 Thread Tim van der Molen
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2015/11/16 07:33:35

Modified files:
faq: faq4.html 

Log message:
Remove one reference to /var/tmp and tweak another; "looks good" nick@



CVS: cvs.openbsd.org: src

2015-11-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/12 10:54:50

Modified files:
sbin/fdisk : misc.c 

Log message:
Simplify string_from_line(). No functional change.

OK krw@



CVS: cvs.openbsd.org: src

2015-11-10 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/10 13:34:58

Modified files:
etc: rc 

Log message:
Fix typos in comments



CVS: cvs.openbsd.org: src

2015-11-05 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/05 10:17:38

Modified files:
share/man/man4 : umsm.4 

Log message:
List the Huawei Mobile K4511; OK mpi@



CVS: cvs.openbsd.org: src

2015-11-01 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/11/01 07:02:37

Modified files:
usr.bin/skeyaudit: skeyaudit.c 
usr.bin/skeyinfo: skeyinfo.c 

Log message:
Pledge; OK millert@



CVS: cvs.openbsd.org: src

2015-10-17 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/10/17 08:33:01

Modified files:
usr.bin/sort   : sort.c 

Log message:
Pledge; OK millert@ tobias@



CVS: cvs.openbsd.org: src

2015-10-13 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/10/13 10:21:42

Modified files:
usr.bin/sort   : sort.c 

Log message:
-C and -c allow at most one input file. Ensure this is the case when the
input files are specified through --files0-from.

OK millert@



CVS: cvs.openbsd.org: src

2015-10-13 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/10/13 10:55:03

Modified files:
usr.bin/sort   : sort.c 

Log message:
Ignore the setuid/setgid/sticky bits when copying the permissions of an input
file to the new output file. In preparation for pledge(2).

Suggested by and OK millert@



CVS: cvs.openbsd.org: src

2015-10-13 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/10/13 16:14:51

Modified files:
regress/usr.bin/sort: stests 

Log message:
Call the sort program through $SORTPROG, as intended; OK millert@



CVS: cvs.openbsd.org: src

2015-10-12 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/10/12 08:33:13

Modified files:
usr.bin/skey   : skey.c 

Log message:
Pledge "stdio wpath tty"; "awesome" deraadt@



  1   2   >