summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2002-06-10strlcpy, strlcatJun-ichiro itojun Hagino
2002-06-10Remove NO__P since __P has been removed. Found by hin@ -mojMats O Jansson
2002-06-10Minor cleanupHans Insulander
2002-06-10Kill __FUNCTION__.Marc Espie
ok itojun@
2002-06-10-Wall cleanupHans Insulander
ok deraadt@
2002-06-10No newline with warnx(3). ok hin@Thomas Nordin
2002-06-10Switch to modern (post 4.xBSD) world, with changes lying in my tree for aMiod Vallat
lot of time: - use getopt() - use err() and warn() - NBT_BAD instead of 126 - remove the vax-only parts since this is only build on i386. They can come back later whenever necessary.
2002-06-10more sockaddr initializations.Jun-ichiro itojun Hagino
2002-06-09When checking for valid login names, check length against MaxUserNameLen.Todd C. Miller
Noticed by Brian Poole who supplied a different patch.
2002-06-09Better fix for correct queue printing when things have been moved around.Todd C. Miller
2002-06-09Don't print jobs in transit to a remote queue as being "active"Todd C. Miller
2002-06-09some fixes.Brad Smith
-- From: PR 2722.
2002-06-09arlad -> afsdHans Insulander
2002-06-09Add DynRootDB.5 and afsd.conf.5Hans Insulander
2002-06-09optimize build time. based on PR 2715Jun-ichiro itojun Hagino
2002-06-09spelling; moritz@jodeit.orgTheo de Raadt
2002-06-09no \n for syslog(); ok deraadtPeter Valchev
2002-06-09sort .XrHans Insulander
2002-06-09CleanupHans Insulander
2002-06-09CleanupHans Insulander
2002-06-09Convert remaining K&R function headers to ANSITodd C. Miller
2002-06-09o Kill "garbage" global (unused)Todd C. Miller
o Kill "rank" global (doesn't need to be global) o Make inform() static (local to displayq.c) o Pass in rank to inform() based on index within sorted mtime array o Simplify compar()
2002-06-09A little more cleanupHans Insulander
- start a sentance with a capital letter - small grammar fixes - typos
2002-06-09strlcpy fix, PR 2727Jun-ichiro itojun Hagino
2002-06-09strlcpy fix, PR 2727Jun-ichiro itojun Hagino
2002-06-09use strchr() instead of index(), strrchr() instead of rindex()Theo de Raadt
2002-06-09strchr() instead of index()Theo de Raadt
2002-06-09fix the use of "cuz" in the tree; these are all in commentsJason Peel
noticed by aaron@, recommended by deraadt@
2002-06-09More syslog \n whack. ok theoKjell Wooding
2002-06-09Whack \n in syslog. more to come. ok deraadt.Kjell Wooding
2002-06-09do not use \n in syslog()Theo de Raadt
2002-06-09various cleanups; ok hinTheo de Raadt
2002-06-08Take advantage of sysctls for stats --- not in use, as we need theAngelos D. Keromytis
mountlist and the ttylist. To come.
2002-06-08o Replace some hard-coded octal constants w/ S_I*Todd C. Miller
o Remove some unneeded casts to char * when calling free()
2002-06-08RFCs, not RFC's; Adrian KnothTodd C. Miller
2002-06-08comment out paragraph that does not fit to openbsd-currentJun-ichiro itojun Hagino
2002-06-08use the dirfd macro instead of reaching into the DIR and pulling out dd_fdTodd C. Miller
2002-06-08make this actually compileTodd C. Miller
2002-06-08do not use deprecated ioctlsJun-ichiro itojun Hagino
2002-06-08Force lpd socket to be mode 0660, group daemonTodd C. Miller
2002-06-08comment and error message cleanup, from Brian Poole <raj@cerias.purdue.edu>Bob Beck
2002-06-08Remove some debugging codeTodd C. Miller
2002-06-08Remove setuid root from lp*. lpr needs to be setuid daemon so theTodd C. Miller
files it creates are not owned by the user spooling them but the others (lpc, lpq, lprm) can get away with setgid daemon. lpd runs as user daemon for most things, only changing its uid to 0 for things that must be done as root. For the time being, don't require connections to come from a reserved port since lpq/lpr/lprm can't acquire that w/o setuid root. In the near future we will have a mechanism for select non-root processes to grab reserved ports. The upshot of this is that spool directories must be writable by group daemon and the files within the spool dirs must be owned by daemon.
2002-06-07Engage brain before commiting...Hans Insulander
- remove false dependency when creating symlinks into source tree - add -f flag to ln to force recreation of the symlinks if the target would somehow be triggered ok maja@
2002-06-07- set_progname() no longer used in header-generating program.Hans Insulander
- remove my testing cruft accidentally commited - Add some files to CLEANFILES that were not properly cleaned.
2002-06-07Add an explicit dependency for two symlinked files, to make maja@'sHans Insulander
problems go away.
2002-06-07no more set_prognameHans Insulander
2002-06-07shit. need this. my bad, my pfctl wasn't up to date.Bob Beck
2002-06-07avoid fd_set overrun. sync w/kameJun-ichiro itojun Hagino
2002-06-07repair and flesh out a littleHans Insulander