Commit Graph

4087 Commits

Author SHA1 Message Date
thorpej
7490542205 Document the name forms of the ICMP and TCP field offsets/values
recently added to libpcap's compiler.
2000-12-28 22:43:39 +00:00
wiz
1d1f43e05c Improve handling of -l with -m, and update documentation.
Based on an idea by Alistair Crooks in bin/11707.
2000-12-23 17:19:48 +00:00
wiz
a73ca31ff8 Clarify what happens if -d is specified without -m.
Fixes second part of bin/11707.
2000-12-23 16:30:21 +00:00
wiz
39df6581fe Fix moving a user's home directory with 'useradd -md /new/home/dir user'.
Clarify code (newpwp was referencing the same struct as pwp).
Fixes first part of bin/11707.
2000-12-23 16:29:35 +00:00
itojun
8537da23ad use strlcpy/at throughout the code. more strct argument validation.
revoke setuid privilege earlier.

sync with kame.
2000-12-22 15:12:04 +00:00
cgd
8d81e0e116 __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that.  It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
2000-12-20 01:34:39 +00:00
cgd
94e108c80f avoid accidental use of ANSI C trigraphs. 2000-12-20 01:30:26 +00:00
cgd
d87582beba avoid use of ANSI C trigraph ??) 2000-12-20 01:29:21 +00:00
itojun
10fb60e4ee do not declare errno on our own. from: Patrick Welche <prlw1@newn.cam.ac.uk>
sync with the latest kame tree.
2000-12-19 23:55:02 +00:00
nathanw
95ecff2f0d Pull in ${DESTDIR}/usr/include before ${DESTDIR}/usr/include/openssl, so
that we get the system's err.h, not openssl's.
2000-12-19 21:18:32 +00:00
scw
ab70197801 Select the object format in the Makefile, to allow selecting on
%MACHINE when deciding what object formats to support.
2000-12-18 20:43:58 +00:00
mike
ba39d0a858 Correct display of invalid username error and cache duplicate password
lookup (fixes PR#11695).
2000-12-17 22:47:14 +00:00
thorpej
893fdc80cf Descend into altq. 2000-12-17 03:06:53 +00:00
thorpej
28f0042b51 Build glue for ALTQ programs. 2000-12-16 18:57:34 +00:00
thorpej
d4bf5787dc Token bucket regulator config program for altq. 2000-12-16 17:53:19 +00:00
thorpej
8726857e6b Import the altq status program. 2000-12-16 17:40:16 +00:00
thorpej
09dce659bf Import the altq configuration daemon. 2000-12-16 17:39:40 +00:00
thorpej
95a6556014 Import the altq library. 2000-12-16 17:38:07 +00:00
lukem
1d0a6f62b8 revert 1.51 and 1.52 (_KERNEL_foo stuff), due to loud objections from
a couple of people.  we'll just have to go back to adding this manually
to our config files...
2000-12-14 22:14:45 +00:00
scw
eee03f150e No need to initialise a global to zero. 2000-12-13 23:00:32 +00:00
ad
ad2150de6f Remove debug printf. 2000-12-13 12:34:02 +00:00
enami
f0f66cd139 ..., and fix new warning on i386. 2000-12-13 11:07:16 +00:00
mrg
e7d5c1b188 fix LP64 warning. 2000-12-13 10:56:43 +00:00
enami
2285fa8eab Print address of lower vnode of layered fs vnode. 2000-12-13 05:50:33 +00:00
enami
7ec21d4438 Use va.va_type instead of va.va_mode to determine if a nfs vnode is a
deivce node or not, since latter contains permission bits only.
2000-12-13 05:34:55 +00:00
hubertf
3d76df0ee0 Strip not only .tgz but also .tbz etc. (missed from last commit) 2000-12-13 03:49:56 +00:00
hubertf
5382dffae7 * Accept ".tbz" as an alternative pkg suffix to ".tbz" for pkg_add and
pkg_info
 * In pkg_create, compress with bzip2 if a .tbz suffix is given
 * Fix pkg_info to work via ftp, either via URL specified on command line
   or via one made up from PKG_PATH (if set)

XXX ALWAYS tacks on ".t[bg]z", NOT ".t[gb]z" !!!
2000-12-13 03:17:53 +00:00
lukem
ea03d7ba8e change KERNEL_foo -> _KERNEL_foo, as suggested by matt green 2000-12-12 17:49:20 +00:00
lukem
f125ced5a1 Add option KERNEL_foo', where foo' is the basename of the build directory.
This will get added to the Makefile's IDENT= as -DKERNEL_foo.
2000-12-12 08:46:02 +00:00
ad
3998cc1155 Nits. 2000-12-11 19:33:55 +00:00
ad
c87303f168 Put back missing line break. 2000-12-11 14:38:43 +00:00
ad
d299ad2a0f Fix compiler warnings. 2000-12-11 13:58:46 +00:00
ad
18900b7349 Note a bug. 2000-12-11 13:55:16 +00:00
ad
9af5448e0a Add a basic control program for iop devices. 2000-12-11 13:48:52 +00:00
thorpej
1c3d23d12c More IPv6-friendliness. 2000-12-09 22:39:12 +00:00
thorpej
c7b5409a74 Rewrite this to use getaddrinfo(), and to use the canonical name of the
host rather than the hostname as returned by gethostname() if the hostname
does not appear to be fully qualified.
2000-12-09 00:47:57 +00:00
tron
7ebe3b4a17 Add a new "-d" option which allows to define the directory of the
password file as the "-d" options of "pwd_mkdb" and "vipw".
2000-12-08 22:23:14 +00:00
tron
f937707eab Improve description of "-d" option. 2000-12-08 22:21:44 +00:00
tron
6deb512a7c The "-m" option makes onyl sense with at least one argument. So enforce
that and update the documentation accordingly.
2000-12-08 21:51:21 +00:00
tron
48698d8229 Remove obsolete "domake" variable. 2000-12-08 21:24:16 +00:00
tron
e5d0716506 Fix broken argument parsing:
- "-m" shouldn't option be passed to "make".
- Avoid buffer overflow while construction shell command to invoke "make".
2000-12-08 21:09:37 +00:00
thorpej
e0d4418a25 Convert to TI-RPC, modeled after mountd(8) since we do host-based
access checking (via libwrap) like mountd(8) does.

Also, garbage-collect a bunch of stuff that is normally created by
rpcgen(1) that we'll never use in this program.
2000-12-08 20:08:43 +00:00
wiz
89d963e947 Don't try to create or move directory if only '-d' is given (man page
says '-m' is needed for that). Problem reported by Johnny C. Lam.
2000-12-07 17:44:03 +00:00
tron
f4136e8234 Document ``/'' as default directory to avoid confusion of the users. 2000-12-07 12:55:06 +00:00
tron
d78c1c9e2d Back out last change on sugestion by Klaus Klein:
While it was technically correct it was confusing for the user.
2000-12-07 12:53:14 +00:00
tron
32a56dbd39 Add a new "-d" option which allows to specifiy the root directory of the
password database.
2000-12-06 14:04:25 +00:00
tron
1bfef38d9b The default directory is "", not "/". 2000-12-06 13:54:08 +00:00
itojun
aac23d3263 correct pathname 2000-12-04 16:11:56 +00:00
itojun
1b5622c854 correct location of config file 2000-12-04 16:11:07 +00:00
itojun
c9236bb0cc $KAME$ cleanup. address PR 11615 (CMSG_SPACE should be CMSG_LEN).
lots of stabilization/spec cleanup.  sync with kame.
2000-12-04 07:09:35 +00:00