CVS: cvs.openbsd.org: src

2015-02-06 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/02/06 04:49:39 Modified files: sbin/clri : clri.c Log message: convert atoi to strtonum

CVS: cvs.openbsd.org: src

2015-02-06 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/02/06 01:53:01 Modified files: usr.bin/fold : fold.c Log message: fix an integer overflow found by mlarkin

CVS: cvs.openbsd.org: src

2015-02-06 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/02/06 03:50:48 Modified files: games/fortune/fortune: fortune.c Log message: unsigned char is the correct type for ctype functions

Re: CVS: cvs.openbsd.org: src

2015-01-31 Thread Ted Unangst
On Sat, Jan 31, 2015 at 17:10, Jason McIntyre wrote: CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org2015/01/31 17:10:01 Modified files: usr.bin/units : units.lib Log message: update currency exchange rates; i've removed entries for lithuania and latvia,

CVS: cvs.openbsd.org: src

2015-01-30 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/30 12:00:56 Modified files: usr.bin/vmstat : vmstat.c Log message: improve argv checking. drive name, if given, must match something. convert atoi to strtonum. ok deraadt

CVS: cvs.openbsd.org: src

2015-01-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/29 12:44:32 Modified files: sys/net: bpf.c Log message: back bpf.c down to 1.113, from before most recent timeout changes. nmap is broken, as reported by kent fritz. pending further

CVS: cvs.openbsd.org: src

2015-01-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/29 21:45:45 Modified files: usr.bin/ftp: cmds.c cmds.h cmdtab.c ftp.1 ftp.c small.c util.c Log message: remove tenex transfer support. if you still have TOPS20 machines

CVS: cvs.openbsd.org: src

2015-01-28 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/28 13:16:04 Modified files: sys/kern : vfs_cache.c Log message: revert back to initial vnodes again so we can be sure nfs likes it

CVS: cvs.openbsd.org: src

2015-01-28 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/28 16:33:52 Modified files: lib/libc/crypt : bcrypt.c Log message: dial the time back to about 0.1s, closer to the original targets and friendlier for users. requested by deraadt

CVS: cvs.openbsd.org: src

2015-01-27 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/27 22:10:44 Modified files: usr.sbin/apm : apm.8 Log message: jcs found another remnant of cool running mode

CVS: cvs.openbsd.org: src

2015-01-25 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/25 12:31:38 Modified files: lib/libc/sys : ptrace.2 Log message: mention that the kern.global_ptrace sysctl also affects PT_ATTACH

CVS: cvs.openbsd.org: src

2015-01-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/23 12:07:27 Modified files: usr.sbin/cron : cron.c crontab.c database.c do_command.c entry.c env.c job.c misc.c popen.c user.c Log message: braces to open a function go on

CVS: cvs.openbsd.org: src

2015-01-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/23 11:52:31 Modified files: usr.sbin/cron : user.c Log message: delete some code that doesn't (and shouldn't) run. ok deraadt millert

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 15:09:39 Modified files: usr.sbin/ospfd : lsupdate.c usr.sbin/ospf6d: lsupdate.c Log message: remove a stupid -Wstrict-prototype warning by making the hash function static. noticed by

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 18:58:20 Modified files: usr.bin/crontab: Makefile usr.bin/at : Makefile Log message: don't need to define debugging 0 anymore

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 19:37:25 Modified files: usr.sbin/cron : atrun.c crontab.c database.c do_command.c entry.c env.c macros.h misc.c user.c Log message: Remove the OK and ERR macros. They

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 15:38:55 Modified files: usr.sbin/cron : atrun.c cron.c entry.c job.c misc.c user.c Log message: delete useless casts. ok deraadt guenther millert

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 18:03:03 Modified files: usr.sbin/cron : cron.c do_command.c Log message: minor debug removal cleanup

CVS: cvs.openbsd.org: src

2015-01-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/22 18:01:06 Modified files: usr.sbin/cron : atrun.c config.h cron.8 cron.c crontab.c database.c do_command.c entry.c env.c funcs.h globals.h

CVS: cvs.openbsd.org: src

2015-01-21 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/21 11:39:54 Modified files: sys/arch/i386/i386: bios.c Log message: I don't foresee knowing that my i386 netbook has an AT/286+ bios and not a PCjr bios will help diagnose any problems. ok deraadt

CVS: cvs.openbsd.org: src

2015-01-21 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/21 15:33:22 Modified files: share/man/man4 : qle.4 qlw.4 Log message: complete the circle so all ql pages xref all other ql pages

CVS: cvs.openbsd.org: src

2015-01-20 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/20 11:54:33 Modified files: share/man/man7 : eqn.7 mandoc_char.7 mdoc.7 roff.7 tbl.7 Log message: change spelling of centre to center. consistent with other man pages, the name of the macro being

CVS: cvs.openbsd.org: src

2015-01-20 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/20 15:09:50 Modified files: include: limits.h stdio.h Log message: increase TMP_MAX to the equivalent of INT_MAX. it's actually more, but safer not to wraparound by accident. ok deraadt

CVS: cvs.openbsd.org: src

2015-01-20 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/20 13:50:36 Modified files: usr.bin/signify: signify.1 Log message: i wrote this

CVS: cvs.openbsd.org: src

2015-01-19 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/19 11:07:47 Modified files: usr.bin/calendar/calendars: calendar.holiday calendar.usholiday Log message: mlk jr day is the third monday, and not just for new york. from richard

CVS: cvs.openbsd.org: src

2015-01-17 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/17 13:37:04 Modified files: include: Makefile Removed files: include: des.h Log message: remove des.h. it somehow escaped from ssleay into /usr/include, but none of the

CVS: cvs.openbsd.org: src

2015-01-17 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/17 10:44:15 Modified files: sys/arch/i386/i386: bios.c Log message: guard usingacpi variable inside NACPI. from oyvind jaegtnes

CVS: cvs.openbsd.org: src

2015-01-17 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/17 11:01:43 Modified files: lib/libc/stdlib: alloca.3 Log message: Improve wording in alloca. 1. it's not a bug; it's a caveat. 2. slightly unsafe gives me the willies. 3. one .Xr to malloc should

CVS: cvs.openbsd.org: src

2015-01-16 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/16 08:29:45 Modified files: sys/crypto : des_locl.h Log message: Less code, more better. No longer need to worry about what mysterious things will happen when machines have 8 byte longs.

CVS: cvs.openbsd.org: src

2015-01-16 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/16 10:05:49 Modified files: sys/kern : vfs_cache.c Log message: increasing the size of the namecache suddenly made the comment This makes the algorithm O(n^2), but do you think I care? a lot

Re: CVS: cvs.openbsd.org: src

2015-01-16 Thread Ted Unangst
On Fri, Jan 16, 2015 at 10:05, Ted Unangst wrote: CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org2015/01/16 10:05:49 Modified files: sys/kern : vfs_cache.c Log message: increasing the size of the namecache suddenly made the comment This makes

CVS: cvs.openbsd.org: src

2015-01-16 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/16 14:16:14 Modified files: sys/kern : vfs_cache.c Log message: increase namecache to maxvnodes again now that the n^2 loop is no more. battle tested by krw

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 16:20:33 Modified files: sys/crypto : des_locl.h Removed files: sys/crypto : des.h Log message: simplify des headers by stripping out all the unnecessary userland bits ok deraadt

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 16:19:48 Modified files: usr.sbin/pppd : chap.c lcp.c Removed files: usr.sbin/pppd : chap_ms.c chap_ms.h Log message: fully remove disabled mschap support, which does weird DES things.

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 15:21:01 Modified files: usr.bin/signify: signify.c Log message: use PATH_MAX for path buffers. in case, you know...

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 16:26:40 Modified files: sys/crypto : ecb_enc.c Log message: remove static version string

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 23:00:39 Modified files: usr.bin/signify: signify.c Log message: just to be careful, add a cpp guard that the sscanf sizes are ok

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 23:16:12 Modified files: usr.bin/signify: signify.c Log message: improve checksum parsing slightly. now handles filenames with spaces. (though not names with ')'; sorry.)

CVS: cvs.openbsd.org: src

2015-01-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/15 12:55:58 Modified files: include: stdlib.h Log message: we don't have an alloca() symbol anywhere in libc, don't prototype it. instead, #define to __builtin_alloca. if that doesn't work,

CVS: cvs.openbsd.org: src

2015-01-12 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/12 13:00:11 Modified files: sys/kern : vfs_cache.c Log message: revert the namecache embiggening since it seems to cause hangs at reboot. reported and revert tested by krw

CVS: cvs.openbsd.org: src

2015-01-12 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/12 16:39:57 Modified files: sys/arch/octeon/conf: RAMDISK Log message: include NFSCLIENT. ok deraadt

Re: CVS: cvs.openbsd.org: src

2015-01-12 Thread Ted Unangst
On Mon, Jan 12, 2015 at 08:18, Damien Miller wrote: CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org2015/01/12 08:18:07 Modified files: usr.bin/ssh: sshbuf-getput-basic.c sshbuf-getput-crypto.c Log message: apparently memcpy(x, NULL, 0) is undefined

CVS: cvs.openbsd.org: src

2015-01-11 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/11 12:25:14 Modified files: sys/arch/alpha/conf: Makefile.alpha sys/arch/amd64/conf: Makefile.amd64 sys/arch/armish/conf: Makefile.armish sys/arch/armv7/conf: Makefile.armv7

CVS: cvs.openbsd.org: src

2015-01-11 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/11 20:20:04 Modified files: lib/libutil: bcrypt_pbkdf.c lib/libc/crypt : bcrypt.c Log message: rename blocks to words. bcrypt blocks are unrelated to blowfish blocks, nor are they the

CVS: cvs.openbsd.org: src

2015-01-10 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/10 06:47:05 Modified files: usr.sbin/ntpd : config.c ntpd.h parse.y Log message: don't check for a return value that host() doesn't return, so future generations don't try to change any of the

CVS: cvs.openbsd.org: src

2015-01-10 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/10 06:48:02 Modified files: usr.bin/grep : grep.c grep.h Log message: 1. They're flags, not counters. Set to one instead of incrementing. 2. The G flag is useless and never checked. Remove it. ok

CVS: cvs.openbsd.org: src

2015-01-09 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/09 14:49:59 Modified files: usr.bin/signify: signify.c Log message: absurd optimization. reduce initial space by one to avoid leaving one byte hanging off on a page by itself.

CVS: cvs.openbsd.org: src

2015-01-08 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/08 22:01:57 Modified files: sys/conf : param.c sys/isofs/cd9660: cd9660_node.c sys/kern : vfs_cache.c vfs_subr.c sys/msdosfs: msdosfs_denode.c

CVS: cvs.openbsd.org: src

2015-01-08 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/08 22:04:22 Modified files: sys/kern : kern_bufq.c vfs_bio.c sys/sys: buf.h Log message: save the bufq pointer from the buf before we turn it loose so it won't change on us.

CVS: cvs.openbsd.org: src

2015-01-08 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/08 21:59:54 Modified files: sys/net: bpf.c Log message: correctly handle no timeouts and make timeout handling in general better. problem reported by Mages Simon ok guenther

CVS: cvs.openbsd.org: src

2015-01-08 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/08 11:07:35 Modified files: sys/kern : vfs_cache.c Log message: increase namecache size to follow maxvnodes. seems better than desiredvnodes. (accuracy of variable names, aside) ok kettenis

CVS: cvs.openbsd.org: src

2015-01-07 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/07 12:53:34 Modified files: usr.bin/signify: signify.c Log message: bcallah noticed the ifndef guard for headers was wrong. don't fix, just remove it, and put these includes up with their friends.

CVS: cvs.openbsd.org: src

2015-01-07 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/07 09:05:28 Modified files: lib/libc/crypt : bcrypt.c Log message: stupid me. need errno.h

CVS: cvs.openbsd.org: src

2015-01-07 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/07 08:46:23 Modified files: lib/libc/crypt : bcrypt.c Log message: set errno = EINVAL for invalid salts and hashes in most functions. remember to set EACCES in bcrypt_checkpass for hash differences.

CVS: cvs.openbsd.org: src

2015-01-07 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/07 11:15:08 Modified files: usr.bin/ssh: sshd.c Log message: workaround for the Meyer, et al, Bleichenbacher Side Channel Attack. fake up a bignum key before RSA decryption. discussed/ok djm

CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/05 07:07:12 Modified files: usr.bin/encrypt: encrypt.c Log message: encrypt can use the scrypt scaling code in libc now via crypt_newhash

Re: CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
On Mon, Jan 05, 2015 at 07:07, Ted Unangst wrote: CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org2015/01/05 07:07:12 Modified files: usr.bin/encrypt: encrypt.c Log message: encrypt can use the scrypt scaling code in libc now via crypt_newhash er, ah, bcrypt

CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/05 06:14:24 Modified files: bin/ps : fmt.c Log message: simplify realloc loop by not using realloc. we don't care about old data, so don't make realloc copy it. just allocate what we need.

CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/05 06:10:10 Modified files: lib/libc/crypt : bcrypt.c Log message: convert clock() to clock_gettime() for improved precision (and accuracy?) guenther suggested using thread time, which actually may

CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/05 06:52:47 Modified files: bin/dd : dd.c Log message: use the correct read count when determining how swabbing is necessary. bug report from Martin Wolters

CVS: cvs.openbsd.org: src

2015-01-05 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/05 14:04:04 Modified files: lib/libc/stdlib: malloc.c Log message: rename kern enter/exit macros to malloc enter/leave to better reflect what's going on.

CVS: cvs.openbsd.org: src

2015-01-04 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/04 11:44:12 Modified files: distrib/miniroot: install.sub Log message: back to using ramdisk encrypt again. theo found and fixed the (my) bug.

CVS: cvs.openbsd.org: src

2015-01-03 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/01/03 19:26:29 Modified files: distrib/miniroot: install.sub Log message: go back to using /mnt encrypt. it seems something isn't working yet.

CVS: cvs.openbsd.org: src

2014-12-31 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/31 08:42:08 Modified files: games/tetris : input.c Log message: simplify poll() conversion. from patrick keshishian

CVS: cvs.openbsd.org: src

2014-12-31 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/31 08:45:57 Modified files: games/adventure: init.c setup.c wizard.c Log message: adventure requires deterministic random for its internal data obfuscation scheme to work (words fail me), but we can

CVS: cvs.openbsd.org: src

2014-12-31 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/31 09:56:55 Modified files: sys/crypto : sha2.c Log message: recent changes broke alignment requirements on arm. simplify a bit more, swapping only aligned values and then using memcpy to fill

CVS: cvs.openbsd.org: src

2014-12-30 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/30 03:27:24 Modified files: lib/libc/crypt : bcrypt.c cryptutil.c Log message: copy bcrypt autotune from encrypt(1) and expose via crypt_newhash ok deraadt miod

CVS: cvs.openbsd.org: www

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2014/12/29 02:16:42 Modified files: faq: current.html Log message: note that crypt_checkpass doesn't like DES. upgrade your hashes posthaste.

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 07:16:04 Modified files: usr.bin/signify: signify.1 signify.c Log message: remove the inspect debug command. should not be used by users, who are not supposed to know what fingerprints are or

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 07:23:17 Modified files: usr.bin/signify: signify.c Log message: rename fingerprint struct field. no longer exposed to users, but since it's not technically a fingerprint as others understand the

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 07:35:04 Modified files: usr.bin/signify: signify.c Log message: useless change. overwriting the nul byte with a newline means b64_ntop can use the whole buffer, even the last byte.

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 09:12:59 Modified files: lib/libssl/src/ssl: s3_srvr.c Log message: don't leak timing info about padding errors by generating a fake key afterwards. openssl has a more complicated fix, but it's

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 09:55:44 Modified files: distrib/miniroot: install.sub Log message: switch encrypt to auto scaling bcrypt rounds. ok deraadt

CVS: cvs.openbsd.org: src

2014-12-29 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/29 10:07:17 Modified files: usr.bin/encrypt: encrypt.c Log message: impose some limits on the ideal rounds so nothing too crazy happens when the clock results are weird

CVS: cvs.openbsd.org: src

2014-12-28 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/28 03:02:37 Modified files: sys/crypto : cryptodev.h cryptosoft.c xform.c xform.h sys/net: pfkeyv2.h pfkeyv2_convert.c sys/netinet: ip_ah.c Log message: remove

CVS: cvs.openbsd.org: src

2014-12-28 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/28 03:04:35 Modified files: sys/crypto : md5.c sha1.c Log message: convert bcopy to memcpy in md5 and sha1. also be consistent about clearing context and making digest required to Final.

Re: CVS: cvs.openbsd.org: src

2014-12-28 Thread Ted Unangst
On Wed, Dec 24, 2014 at 15:10, Ted Unangst wrote: CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org2014/12/24 15:10:34 Modified files: lib/libc/crypt : cryptutil.c Log message: simplify crypt_checkpass. The API promise is that this function doesn't use global

CVS: cvs.openbsd.org: src

2014-12-26 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/26 14:17:32 Modified files: etc/mtree : special Log message: the kvm.db is now kmem owned. noticed by Steven Roberts

CVS: cvs.openbsd.org: src

2014-12-25 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/25 22:46:32 Modified files: sys/dev/ic : ar5xxx.h sys/dev/pci: if_bnxreg.h if_em.h if_ixgb.h Log message: unifdef INET. missed a few headers in previous rounds

CVS: cvs.openbsd.org: src

2014-12-25 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/25 22:47:23 Modified files: usr.bin/netstat: route.c Log message: not necessary to define INET anymore

CVS: cvs.openbsd.org: src

2014-12-24 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/24 15:04:26 Modified files: usr.bin/encrypt: Makefile encrypt.1 encrypt.c Log message: simplify. bcrypt only support and use newer libc APIs. no makekey emul. ok deraadt schwarze is a little sad to

CVS: cvs.openbsd.org: src

2014-12-24 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/24 15:10:34 Modified files: lib/libc/crypt : cryptutil.c Log message: simplify crypt_checkpass. The API promise is that this function doesn't use global data. The simplest fix is to only check

CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/23 12:21:58 Modified files: sys/crypto : sha2.c Log message: use endian.h swap macros instead of home grown versions

Re: CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
On Tue, Dec 23, 2014 at 12:21, Ted Unangst wrote: CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org2014/12/23 12:21:58 Modified files: sys/crypto : sha2.c Log message: use endian.h swap macros instead of home grown versions oops, this was ok miod.

CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/23 13:29:23 Modified files: sys/dev: rnd.c Log message: tmp is a bad name for a shactx

CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/23 13:32:05 Modified files: sys/dev: rnd.c Log message: not necessary to zero hash context; the hash final functions all do that.

CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/23 13:34:41 Modified files: sys/crypto : sha2.c Log message: as in libc, there's no need to check for calling Init on null context

CVS: cvs.openbsd.org: src

2014-12-23 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/23 13:40:06 Modified files: sys/crypto : sha2.c Log message: as in libc, always assume digest is passed to Final. no null allowed.

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 08:39:28 Modified files: etc/mtree : 4.4BSD.dist Log message: dickman noticed /var/rwho keeps coming back. remove it.

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 11:21:10 Modified files: usr.bin/gprof : gprof.c Removed files: usr.bin/gprof : ns32k.c ns32k.h pmax.c pmax.h tahoe.c tahoe.h Log message: remove never used in openbsd tahoe support.

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 18:53:34 Modified files: sys/ufs/ext2fs : ext2fs_vfsops.c sys/ufs/ffs: ffs_softdep.c ffs_vfsops.c sys/ufs/ufs: ufs_dirhash.c Log message: change pool_init allocator to

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 18:53:57 Modified files: sys/tmpfs : tmpfs_vfsops.c Log message: change pool allocator to null and pass waitok to indicate nointr

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 18:55:03 Modified files: sys/nfs: nfs_subs.c Log message: change req pool alloc to null. add prwaitok here and nfs_node_pool which is also sleeping in all callers, but already used null

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 19:01:57 Modified files: sys/uvm: uvm_addr.c uvm_map.c Log message: convert nointr pool_init argument to pr_waitok

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 20:24:08 Modified files: sys/net: pfvar.h sys/net80211 : ieee80211.c ieee80211_amrr.c ieee80211_crypto.c ieee80211_crypto_bip.c ieee80211_crypto_ccmp.c

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 20:26:24 Modified files: sys/kern : uipc_domain.c sys/sys: domain.h Log message: unifdef INET

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 20:29:52 Modified files: usr.sbin/kvm_mkdb: kvm_mkdb.c Log message: the kvm database only needs to be readable by kmem group. make it so.

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 21:47:30 Modified files: sys/uvm: uvm_swap.c Log message: I don't like these macros, they obscure the code. We can use pool_setipl instead of doing the dance ourselves. The bufpool is

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 21:48:47 Modified files: sys/nfs: nfs_node.c Log message: optimize locking a wee bit by holding it for critical parts only

CVS: cvs.openbsd.org: src

2014-12-22 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2014/12/22 21:53:20 Modified files: sys/miscfs/fuse: fuse_vfsops.c Log message: convert from nointr to waitok

<    8   9   10   11   12   13   14   15   16   17   >