#
1.47 |
|
24-Jun-2023 |
msaitoh |
Fix typo in comment.
|
Revision tags: netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
#
1.46 |
|
02-Jun-2012 |
jnemeth |
PR/46500 - Henning Petersen -- wrong permissions on create .seq files
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.45 |
|
30-Aug-2011 |
joerg |
branches: 1.45.2; static, __printflike, __dead
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
#
1.44 |
|
20-Jan-2011 |
ginsbach |
- Replace fatal2() with the appropriate err(3)/errx(3) calls.
|
Revision tags: matt-mips64-premerge-20101231 matt-premerge-20091211
|
#
1.43 |
|
20-Aug-2009 |
he |
branches: 1.43.2; Remove what appears to be a spurious include of a.out.h.
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.42 |
|
18-Jan-2009 |
lukem |
fix -Wsign-compare issues
|
#
1.41 |
|
28-Dec-2008 |
christos |
fix for 64 bit dev_t
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.40 |
|
21-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
|
#
1.39 |
|
07-May-2008 |
christos |
branches: 1.39.2; patch from Dennis den Brok for foomatic
|
Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
|
#
1.38 |
|
24-Feb-2008 |
dholland |
branches: 1.38.2; This file requires errno.h
|
Revision tags: matt-armv6-base
|
#
1.37 |
|
15-Dec-2007 |
perry |
branches: 1.37.2; convert __attribute__s to applicable cdefs.h macros
|
Revision tags: cube-autoconf-base
|
#
1.36 |
|
11-Sep-2007 |
ginsbach |
- remove extraneous \n in err(3) message - minor KNF whitespace nit
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.35 |
|
29-Jan-2006 |
christos |
branches: 1.35.10; - use sizeof() instead of the buffer size. - check write return. - use MAXPATHLEN instead of BUFSIZ for a path buffer.
|
#
1.34 |
|
17-Jan-2006 |
garbled |
per PR bin/12958 change buf[MAXPATHLEN] to buf[BUFSIZ] to avoid potential future problems if either should change.
|
#
1.33 |
|
17-Jan-2006 |
garbled |
Fix PR bin/14247 This PR claims that MacOSX 10.1 cannot print postscript files to a NetBSD lpd because the mac will tag the file with an "o" for postscript, which we do not handle. Rather than simply mapping o -> f as was done in the PR, or mapping o -> l as was done in FreeBSD, I have implemented full support for the "o" option. If a postscript filter does not exist in the printcap file however, it will default to "l" handling.
With this change, you can now specify a "pf" or postscript filter in your printcap, and have it handle postscript files sent to it with "lpr -o".
The "o" format in lpd is specified in RFC1179 as being a valid format flag.
|
#
1.32 |
|
28-Nov-2005 |
christos |
- WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
#
1.31 |
|
19-Aug-2005 |
christos |
64 bit inode changes
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.30 |
|
30-Oct-2004 |
dsl |
Add (unsigned char) cast to ctype functions Some of this code could usefully be converted to use strtoul() and/or some small helper functions.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.29 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
#
1.28 |
|
13-Jul-2003 |
itojun |
use bounded string op
|
#
1.27 |
|
16-Apr-2003 |
wiz |
p before q in options/usage.
|
#
1.26 |
|
28-Mar-2003 |
perry |
fix the fix, from Brian Ginsbach
|
#
1.25 |
|
28-Mar-2003 |
perry |
Add a -R flag to lpr, which prints the print job number Make lp use the -R flag to lpr unless the lp -s flag is used. This fixes standards/17917, patches and PR from Brian Ginsbach <ginsbach@cray.com>
|
#
1.24 |
|
27-Mar-2003 |
perry |
Fix the broken -q option to lpr, apparently broken long ago after lpr was converted to getopt. Also, document the -q option.
Fix supplied by Brian Ginsbach in PR #20890
|
Revision tags: fvdl_fs64_base
|
#
1.23 |
|
14-Jul-2002 |
wiz |
Unifdef __STDC__. Remove __P(). ANSIfy.
|
#
1.22 |
|
03-Jul-2002 |
hubertf |
* Add missing 'break' * cosmetic update in getoipt string
Patch supplied by Brian Ginsbach <ginsbach@cray.com> in PR 17473.
|
#
1.21 |
|
08-Jun-2002 |
itojun |
avoid more hardcoded octals. openbsd
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.20 |
|
25-Jun-2001 |
mrg |
extend file size lossage message.
|
#
1.19 |
|
11-Oct-2000 |
is |
More format string cleanups by sommerfeld.
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.18 |
|
27-Jul-1998 |
mycroft |
branches: 1.18.2; 1.18.10; const poisoning.
|
#
1.17 |
|
06-Jul-1998 |
mrg |
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.16 |
|
19-Oct-1997 |
mycroft |
Use S_IS*(), not S_IF*.
|
#
1.15 |
|
05-Oct-1997 |
mrg |
- WARNS?=1 - be safe with unlinking files (from freebsd) - remove register - clean up $NetBSD$'s. - use inet_ntoa() in one place (from openbsd) - nul terminate after a bunch of strncpy()'s - #ifdef __STDC__ rather than #if (from freebsd) - be safe with a bunch of string operations (from freebsd) - use warn()/err() over home grown versions (some from freebsd) - rename warn() to nodaemon() to remove conflict with above - check errno from failed kill(2) against ESRCH (from freebsd) - use getopt() rather than home grown versions (from freebsd) - clean up a bunch of man pages (some from freebsd) - check for hostname spoof (from freebsd) - use POSIX wait() interfaces - use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd) - deal with fork() failure - index/rindex -> strchr/strrchr (some from freebsd) - add B57600 and B115200 speeds (from freebsd) - some KNF - be safe with files passed in over the network (some from freebsd) - check return value of malloc(), calloc() and strdup()
|
#
1.14 |
|
05-Oct-1997 |
mrg |
merge 4.4 lite2
|
#
1.13 |
|
09-Dec-1996 |
mrg |
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
|
#
1.12 |
|
25-Oct-1996 |
explorer |
Fix the get-a-shell hole, even if we are not currently open to that attack. (1.2 release is, however, and this should be pulled up and released ASAP)
The previous version (1.11) checked into current limits the duration of setuid-root periods much more than the 1.2 released version does, so the attacker DID get a shell, but it was not a root shell.
|
#
1.11 |
|
10-Aug-1996 |
explorer |
Fix printing over non-root-exported NFS at least.
The problem here is setuid(euid) is used far too much. Since I removed many of these calls, and added no new ones, I do not think this weakens security. In fact, it quite likely improves it quite a bit, since access() is called as the real userid, and the file is opened for printing as the real userid rather than the (setuid-root) effective one.
|
Revision tags: netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.10 |
|
21-Mar-1996 |
jtc |
branches: 1.10.4; Be pedantic, main() returns int in C.
|
#
1.9 |
|
15-Nov-1995 |
pk |
Add RCSIDs
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.8 |
|
03-Oct-1995 |
hpeyerl |
-- convert sgtty to termios. From: Scott Bartram <scottb@iis.net> -- Use seteuid() to only give lpr, lprm, lpq and lpc root when they need it from matthew green <mrg@mame.mu.oz.au>
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.7 |
|
18-May-1994 |
cgd |
clean up that import. no rcsids yet.
|
#
1.6 |
|
17-May-1994 |
cgd |
copyright foo
|
#
1.5 |
|
07-Mar-1994 |
cgd |
Fix for symlink-related security hole. from comp.security.unix.
|
#
1.4 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
|
#
1.3 |
|
25-May-1993 |
deraadt |
make lpd know about modern ar files rather than the old ones. Like, if it's going to want to make an effort, at least do it right.
|
#
1.2 |
|
25-May-1993 |
deraadt |
lpr should not access a_magic directly. That's what the N_BADMAG() macro in a.out.h is there for!
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|