summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2002-06-21Correctly close the writing end of the pipe when dup'ing the fd toTodd C. Miller
stdout. This was a pasto/thinko on my part. Problem found by jean-philippe wan-hoi.
2002-06-21kill gratuitous hex; millert okTheo de Raadt
2002-06-21bye bye, use netstat -inalv; itojun okTheo de Raadt
2002-06-21o change some 0-2 to *_FILENOTodd C. Miller
o don't #ifdef RLIMIT_NOFILE o dup2() safety o some NULL vs. 0 changes deraadt@ OK
2002-06-21more strlcpyTheo de Raadt
2002-06-19init goodhostsEric Jackson
2002-06-19more cleanup for timed.Eric Jackson
use queue.h instead of these badly hand done lists functionalize more common code remove some unused code/declarations use strlcpy minor KNF deraadt@ ok
2002-06-19mark which nlist[] kmem entries are not needed in the sysctl case, and which areTheo de Raadt
2002-06-19disable trsp, nothing uses itTheo de Raadt
2002-06-19stretch some ugly while();Theo de Raadt
2002-06-18size_t cleanupsTheo de Raadt
2002-06-18actually, wrong type for printing of sise_tTheo de Raadt
2002-06-18update copyright notice. mckusick says that Van signed the standardTheo de Raadt
Berkeley copyright assignment form, therefore the new license should be on these files. I just copied in the notice that Kirk mailed me.
2002-06-18fix file descriptor leak.Jun-ichiro itojun Hagino
http://marc.theaimsgroup.com/?l=openbsd-tech&m=102125850815351&w=2 From: Gregory Steuck <greg@nest.cx>
2002-06-18format string audit. From: Gregory Steuck <greg@nest.cx>Jun-ichiro itojun Hagino
2002-06-18remove ifdef sgi code, and HAVENIS. sgi was pointless and this didnt even comeEric Jackson
close to compiling w/o HAVENIS deraadt@ ok
2002-06-17typo. From: "R. Lewczuk" <rafal.lewczuk@pronet.pl>Jun-ichiro itojun Hagino
2002-06-17when calling system(3) redirect std* from /dev/nullJason Wright
2002-06-17The Real Fix for the buffer overflow; from apache.orgHenning Brauer
ok beck@
2002-06-17work around a possible buffer overflow in chunk handling.Henning Brauer
ok beck@
2002-06-17format string fix. From: Gregory Steuck <greg@nest.cx>Jun-ichiro itojun Hagino
2002-06-17note our setuid rule clearerTheo de Raadt
2002-06-17since we do not even have this functionality, this does not need gid kmemTheo de Raadt
2002-06-17Compensate for dodgy Win98/WinME MSCHAPv2 responses later in the codebrian
path... after we've talked to any RADIUS servers involved, so that we haven't touched the data before it gets to the server.
2002-06-16Remove nat.conf(5) reference.Miod Vallat
2002-06-16When processing the KERN_VNODE sysctl, the kernel builds a packed structure,Miod Vallat
while pstat(8) expects a C structure abiding the regular structure packing rules. This caused pstat -v to break on powerpc. Unbreak the confusion by defining the structure in a common header file, and having the kernel use it. ok millert@ deraadt@
2002-06-15Cast a format parambrian
2002-06-15Tidy up end of line whitespacebrian
2002-06-15remove redundant arg to syslog() netbsd-current via kameJun-ichiro itojun Hagino
2002-06-15Understand MS-MPPE-Encryption-Policy, MS-MPPE-Encryption-Types,brian
MS-MPPE-Recv-Key and MS-MPPE-Send-Key RADIUS attributes, making MPPE work properly with RADIUS & MSCHAPv2. Do something with the Filter-Id RADIUS attribute. Handle MS-CHAP-Error and MS-CHAP2-Success correctly rather than bogusly including the Ident field in the text passed back to the client. Bump the max FSM option length to 52 (was 20) Add some missing includes.
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-14Get cpu type through sysctl. no more need for kvm.Artur Grabowski
miod says it still needs to be setgid kmem and I don't have time to check the archives for the reason.
2002-06-14this group operator stuff is completely wrongTheo de Raadt
2002-06-13Fixed some lpd bugs while on the plane from Calgary:Todd C. Miller
o mark fatal() as __dead o add SIGINT to the signal mask when installing abort() as a handler. We can end up in abortpr() due to several different signals and since abortpr() kill()s itself with SIGINT we need to explicately protect against the current process receiving SIGINT while in abortpr() o Don't leak the lock fd to children spawned by lpd o Close the lock file (and thus unlocke immediately in abortpr(). Otherwise, if there is an output filter the lock file only gets closed after we finish waiting for the output filter to die. This causes a race condition in lprm such that the per-printer daemon does not get restarted when lprm kills the active job (noticed during c2k2 with the mp3 printer spool ;-) o Open the printcap file with privs raised just in case it is not world-readable.
2002-06-12fix a typo that could create a fd leakVincent Labrecque
ok beck@
2002-06-12err(3) newline cleanup in AFS parts; ok hin@Jason Peel
2002-06-11lprm needs to be setuid daemon after allTodd C. Miller
2002-06-11Update man page to reality, grammar, and style fixes. from ckuethe@ualberta.caKjell Wooding
ok beck@
2002-06-11-Wall cleanupHans Insulander
ok millert@, miod@
2002-06-11For IPCOMP print CPI instead of SPI. Style.Hakan Olsson
2002-06-11Don't assume 32bit SPI/CPI numbers.Hakan Olsson
2002-06-11fix breakage from the stupid way theo and I commited that last big pile ofBob Beck
changes.
2002-06-11Decode IPCOMP transform IDs.Hakan Olsson
2002-06-11New libkafs requires everything to link with krb5.Hans Insulander
2002-06-11make this link on ELF arch systems.Brad Smith
-- Ok'd by: hin@
2002-06-11Remove \n from warn(3). ok deraadt@Thomas Nordin
2002-06-11Remove \n from warnx(3). ok deraadt@Thomas Nordin
2002-06-11use snprintf.Jun-ichiro itojun Hagino
2002-06-11I broke this. Remove separate (optional) nat callsKjell Wooding
2002-06-10strlcpy, strlcatJun-ichiro itojun Hagino