David Malone
73f631edfa
Warnc cleanups. Add FreeBSD IDs.
2001-12-03 21:15:40 +00:00
David Malone
054bbc7bc3
Warns cleanups. Don't use gccism -Wall.
2001-12-03 21:13:03 +00:00
David Malone
9178fa121e
Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile.
2001-12-03 21:12:03 +00:00
David Malone
ae1a490de6
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.
2001-12-03 21:10:47 +00:00
David Malone
9ff5e898db
Warns cleanups.
2001-12-03 21:07:23 +00:00
David Malone
1627c04d8c
Warns cleanup. Add FreeBSD ID to Makefile.
2001-12-03 21:06:20 +00:00
David Malone
106b1a8c91
Warns cleanup - not ready for WARNS=2 yet.
2001-12-03 21:04:50 +00:00
David Malone
fae4fbf838
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:03:39 +00:00
David Malone
4285ad09c9
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
David Malone
7f6475cec1
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
David Malone
1e49c24583
Warns cleanup.
2001-12-03 20:58:56 +00:00
David Malone
b268886863
Warns cleanup (just make main return an int).
2001-12-03 20:57:49 +00:00
David Malone
5748d9ba6f
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
Robert Watson
5d476e73ce
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
John Hay
dcb9e45113
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
John Hay
2e761cd11a
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
John Hay
de0dff907e
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 Davis
437e48e931
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
Robert Watson
011376308f
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
Ruslan Ermilov
47af9353ea
MTU and metric are available with NET_RT_IFLIST.
...
MFC after: 3 days
2001-12-03 15:12:45 +00:00
David Malone
ace25b89e1
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
Jacques Vidrine
b001d36fa3
Note fix for OpenSSH `UseLogin yes' environment issue.
2001-12-03 13:14:15 +00:00
Mark Murray
7a32b4b1c6
Merge from master (crypto) telnet. WARNS fixes for alpha.
2001-12-03 12:41:19 +00:00
Mark Murray
5eb2b33ad8
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
Mark Murray
54ab3ed82b
help the alphas out with the WARNS=2 stuff.
2001-12-03 12:13:18 +00:00
Daniel C. Sobral
b31463c915
Remove unused filed.
...
PR: kern/32395
Submitted by: Jonathan Mini <mini@haikugeek.com>
2001-12-03 12:07:05 +00:00
David E. O'Brien
f4b7af33ef
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
Crist J. Clark
cb46a4618b
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 Stokely
3bbde73c29
Fix typo.
...
PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
2001-12-03 06:00:24 +00:00
Chris D. Faulhaber
a540fec399
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
Chris D. Faulhaber
993f5df628
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
Mark Murray
151aa6c35a
Use __FBSDID().
2001-12-03 01:15:28 +00:00
Mark Murray
863475aa48
Reorder Makefile for style.
2001-12-03 01:09:17 +00:00
Jacques Vidrine
1c5093bbbc
Do not pass user-defined environmental variables to /usr/bin/login.
...
Obtained from: OpenBSD
Approved by: green
2001-12-03 00:51:47 +00:00
Chris D. Faulhaber
a043a09da7
style(9) cleanups mostly consisting of:
...
o explicitly check return values and variables against a value
o return x; -> return (x);
o fix inconsistent sysexits usage by nuking it (partially
suggested by bde)
Obtained from: TrustedBSD Project
2001-12-03 00:51:36 +00:00
Chris D. Faulhaber
05da5209f6
Correct example to remove *all* extended ACL entries and
...
clarify description.
2001-12-03 00:27:15 +00:00
Alfred Perlstein
ffc0b97fd0
More kernel vfs docco.
...
Xref vfs_mount(9) from vfs_mount(9)
Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431
2001-12-03 00:25:04 +00:00
Brian Feldman
830681f547
Split out NAI Labs license and BSD license to prevent the accidental
...
violation of either.
2001-12-03 00:21:18 +00:00
Mark Murray
d0effe7563
WARNS=2 and -Wall are not both needed. (The second is a subset of the
...
first)
2001-12-03 00:16:52 +00:00
Mark Murray
f86b9f6d64
Use __FBSDID().
2001-12-03 00:07:59 +00:00
Mark Murray
7f1afe0e0e
Style fixes.
...
Use __FBSDID().
Be consistent WRT ANSI use.
OK'ed by: obrien
2001-12-03 00:00:22 +00:00
Mark Murray
546c7f6629
Use __FBSDID().
...
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
Mark Murray
9240706953
Use __FBSDID().
2001-12-02 23:52:47 +00:00
Anton Berezin
b9449db117
Fix typos getpeerid -> getpeereid.
...
PR: docs/32442
Reviewed by: dd
2001-12-02 23:50:40 +00:00
Mark Murray
6e47870b77
Style stuff.
...
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
Mark Murray
3945c68f93
WARNS=2 fixup.
...
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
Mark Murray
84c0ff2233
Use __FBSDID().
2001-12-02 23:34:16 +00:00
Mark Murray
6af414cb2e
Turn on WARNS=2.
...
Use __FBSDID().
2001-12-02 23:29:26 +00:00
Mark Murray
47faf12380
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.
2001-12-02 23:12:33 +00:00
Mark Murray
b802e87095
Protect "make world", as I am doing some (potentially) dangerous
...
WARNS=2 fixes.
Add a commented out WARNS=2 to indicate future intentions.
2001-12-02 23:10:57 +00:00