Commit Graph

67805 Commits

Author SHA1 Message Date
des
5d89c5ae6e Reorganize to reduce code duplication. 2001-12-04 01:09:19 +00:00
des
ecc2670185 Call the ATAPI tape devices "ast" and "nast", not "rast" and "nrast". Add
backward compatibility symlinks for good measure.
DEVFS already gets this right (except for the symlinks).

PR:		24781
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
MFC after:	3 days
2001-12-04 00:48:21 +00:00
des
d3e87ede47 Create {ad,da,...}s1[a-h].
PR:		19849
Submitted by:	Udo Erdelhoff <ue@nathan.ruhr.de>
MFC after:	3 days
2001-12-04 00:40:38 +00:00
jhb
22c01df0b4 Add a missing open paren to a macro that's been broken (and apparently
unused) since rev 1.1 so it is at least correct.

Submitted by:	Maxime Henrion <mux@qualys.com>
2001-12-04 00:35:28 +00:00
scottl
3913fdc6dd Use d_thread_t to reduce diffs between current and stable.
Spell ACQUIRE correctly.
2001-12-03 22:55:14 +00:00
nectar
d69c342a45 Update version string since we applied a fix for the UseLogin issue. 2001-12-03 22:47:51 +00:00
bde
f77cb88b79 Unbreak "make lint" for programs and "make llib-l${LIB}.ln" for
libraries a little by not passing all of ${CFLAGS} to lint.  Pass
only options matching -[DIU]*.  The important -nostdinc option can't
be passed like I first thought because lint misinterprets as
"-n -o stdinc".  The unimportant -B* option can't be passed because
lint doesn't support it.  Otherwise, we pass the same options as
to mkdep, exept for a bug in the latter: -U* is not passed.  All
this depends on option args not being separated from option flags
by a space.
2001-12-03 22:31:09 +00:00
dwmalone
ce9ba9f911 Yes seems to be warns clean on alpha and i386. 2001-12-03 21:42:15 +00:00
dwmalone
2d98aab133 Some warns cleanups - I think this is still not warns clean on the alpha. 2001-12-03 21:40:07 +00:00
dwmalone
56460a2eb0 Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:39:04 +00:00
dwmalone
383583bd4f Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
dwmalone
d0e180a89a Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile. 2001-12-03 21:33:59 +00:00
dwmalone
8136379bed Warns cleanups. Add missing prototype. 2001-12-03 21:32:54 +00:00
dwmalone
4713a986f4 Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
dwmalone
cffa7a579a Strip seems to be warns clean on i386 and alpha. 2001-12-03 21:28:37 +00:00
dwmalone
71a3cce2f6 Warns cleanups. 2001-12-03 21:27:45 +00:00
dwmalone
d2c37ac50b Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
2001-12-03 21:25:28 +00:00
dwmalone
7b333c32e3 Warns cleanups. Add FreeBSD ID. 2001-12-03 21:22:56 +00:00
dwmalone
267de3dc10 Warns cleanups, add FreeBSD IDs. 2001-12-03 21:20:37 +00:00
dwmalone
935f368eab Warnc cleanups. Add FreeBSD IDs. 2001-12-03 21:15:40 +00:00
dwmalone
a7b69c0f25 Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
dwmalone
3b51ef3427 Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile. 2001-12-03 21:12:03 +00:00
dwmalone
ad2914a674 Warns cleanup. Add FreeBSD ID to Makefile and nice.c. 2001-12-03 21:10:47 +00:00
dwmalone
81ff03de25 Warns cleanups. 2001-12-03 21:07:23 +00:00
dwmalone
fc0ee8a40b Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:06:20 +00:00
dwmalone
ffd5084704 Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
dwmalone
db0b731dac Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:03:39 +00:00
dwmalone
743061688b Warns cleanups:
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
2001-12-03 21:01:52 +00:00
dwmalone
0a2730ac8b Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.
2001-12-03 21:00:33 +00:00
dwmalone
d4937950eb Warns cleanup. 2001-12-03 20:58:56 +00:00
dwmalone
a4427dae23 Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
dwmalone
2a38aa8ed1 Cast off_t to long long before printing. Use %ll instead of %q incase
long long and quad_t are not the same.
2001-12-03 20:56:16 +00:00
rwatson
fb311b7cce o Update an instance of 'unprivileged_procdebug_permitted' missed
in the previous commit: the comment should also call it
  'unprivileged_proc_debug'.
2001-12-03 19:10:21 +00:00
jhay
8694133670 Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
the kerberos libraries and includes.
2001-12-03 17:53:09 +00:00
jhay
882107c92b Add the necessary paths to the kerberos libraries and includes.
This fix "make release".

Reviewed by:	markm
2001-12-03 17:45:25 +00:00
jhay
06c2f4bca3 Protect variables and function prototypes that are only used in the INET6
case with an ifdef INET6.

This make the fixit floppy compile again.

Reviewed by:	markm
2001-12-03 17:42:02 +00:00
brooks
8b6f6e9487 Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the
mbuf instead.

Suggested by:	fenner
2001-12-03 17:28:27 +00:00
rwatson
b5de442911 o Introduce pr_mtx into struct prison, providing protection for the
mutable contents of struct prison (hostname, securelevel, refcount,
  pr_linux, ...)
o Generally introduce mtx_lock()/mtx_unlock() calls throughout kern/
  so as to enforce these protections, in particular, in kern_mib.c
  protection sysctl access to the hostname and securelevel, as well as
  kern_prot.c access to the securelevel for access control purposes.
o Rewrite linux emulator abstractions for accessing per-jail linux
  mib entries (osname, osrelease, osversion) so that they don't return
  a pointer to the text in the struct linux_prison, rather, a copy
  to an array passed into the calls.  Likewise, update linprocfs to
  use these primitives.
o Update in_pcb.c to always use prison_getip() rather than directly
  accessing struct prison.

Reviewed by:	jhb
2001-12-03 16:12:27 +00:00
ru
c55fbd48a8 MTU and metric are available with NET_RT_IFLIST.
MFC after:	3 days
2001-12-03 15:12:45 +00:00
dwmalone
4dca628204 Add missing declaration of ftime.
Submitted by:	Sergey Matveychuk <sem@ciam.ru>
Obtained from:	NetBSD
MFC after:	1 week
2001-12-03 15:07:54 +00:00
nectar
d74b224ee7 Note fix for OpenSSH `UseLogin yes' environment issue. 2001-12-03 13:14:15 +00:00
markm
2149facaa0 Merge from master (crypto) telnet. WARNS fixes for alpha. 2001-12-03 12:41:19 +00:00
markm
c7155665d1 More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.
2001-12-03 12:16:40 +00:00
markm
7138baa87d help the alphas out with the WARNS=2 stuff. 2001-12-03 12:13:18 +00:00
dcs
462671a608 Remove unused filed.
PR:		kern/32395
Submitted by:	Jonathan Mini <mini@haikugeek.com>
2001-12-03 12:07:05 +00:00
obrien
4790145648 Reapply rev 1.37 (hide the __attribute__ gcc keyword) into RELENG_4 even
though it was backed out.
With out this change the TenDRA compiler is not bootstrapable.
2001-12-03 11:29:01 +00:00
cjc
765a22d46d The named.conf file should refer to named.conf(5) in addition to
named(8) in the comments.

PR:		32459
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
MFC after:	2 days
2001-12-03 08:05:52 +00:00
murray
f02533b302 Fix typo.
PR:		32455
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
2001-12-03 06:00:24 +00:00
jedgar
a7e3b4261a Move the code merging ACL_USER and ACL_GROUP objects from under
two nested while loops into a separate function.

Obtained from: 	TrustedBSD Project
2001-12-03 02:24:24 +00:00
jedgar
38cc4cae2f Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
to enhance readability.

Obtained from:	TrustedBSD Project
2001-12-03 01:20:52 +00:00