]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
Scott Long [Tue, 4 Dec 2001 02:26:57 +0000 (02:26 +0000)]
BAH! Missed another change to this file.
David E. O'Brien [Tue, 4 Dec 2001 02:26:47 +0000 (02:26 +0000)]
Actually I haven't enumerated the return values yet (thats why I hadn't
committed it yet). So vague'ize the wording a little bit to make up
for it.
David E. O'Brien [Tue, 4 Dec 2001 02:24:10 +0000 (02:24 +0000)]
Revision 1.23 wasn't about WARNS, but rather be a more verbose about
informing of the return values.
Scott Long [Tue, 4 Dec 2001 02:24:07 +0000 (02:24 +0000)]
Bah, I missed this file on the last commit
David E. O'Brien [Tue, 4 Dec 2001 02:19:58 +0000 (02:19 +0000)]
Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
David E. O'Brien [Tue, 4 Dec 2001 01:57:47 +0000 (01:57 +0000)]
Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.
Reviewed by: mike
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:35:59 +0000 (01:35 +0000)]
PROCFS requires PSEUDOFS now.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:35:06 +0000 (01:35 +0000)]
Pseudofsize procfs(5).
David E. O'Brien [Tue, 4 Dec 2001 01:29:54 +0000 (01:29 +0000)]
Back out rev 1.48. The problem is with a bogus __attribute__ in stdio.h.
David E. O'Brien [Tue, 4 Dec 2001 01:24:10 +0000 (01:24 +0000)]
Remove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.
I leave it up to someone else to fix this breakage properly.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:23:02 +0000 (01:23 +0000)]
Reduce namespace pollution by removing argument names from prototypes.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:12:51 +0000 (01:12 +0000)]
Properly handle being redirected to an FTP URL.
Also fix a couple of not-so-minor bugs:
- missing case for HTTP_SEE_OTHER
- incorrect definition of HTTP_NEED_PROXY_AUTH
PR: 20259
MFC after: 2 weeks
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:10:34 +0000 (01:10 +0000)]
Add prototype for _ftp_request().
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:09:19 +0000 (01:09 +0000)]
Reorganize to reduce code duplication.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 00:48:21 +0000 (00:48 +0000)]
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
Dag-Erling Smørgrav [Tue, 4 Dec 2001 00:40:38 +0000 (00:40 +0000)]
Create {ad,da,...}s1[a-h].
PR: 19849
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
MFC after: 3 days
John Baldwin [Tue, 4 Dec 2001 00:35:28 +0000 (00:35 +0000)]
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>
Scott Long [Mon, 3 Dec 2001 22:55:14 +0000 (22:55 +0000)]
Use d_thread_t to reduce diffs between current and stable.
Spell ACQUIRE correctly.
Jacques Vidrine [Mon, 3 Dec 2001 22:47:51 +0000 (22:47 +0000)]
Update version string since we applied a fix for the UseLogin issue.
Bruce Evans [Mon, 3 Dec 2001 22:31:09 +0000 (22:31 +0000)]
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.
David Malone [Mon, 3 Dec 2001 21:42:15 +0000 (21:42 +0000)]
Yes seems to be warns clean on alpha and i386.
David Malone [Mon, 3 Dec 2001 21:40:07 +0000 (21:40 +0000)]
Some warns cleanups - I think this is still not warns clean on the alpha.
David Malone [Mon, 3 Dec 2001 21:39:04 +0000 (21:39 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:37:35 +0000 (21:37 +0000)]
Warns cleanups. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:33:59 +0000 (21:33 +0000)]
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:32:54 +0000 (21:32 +0000)]
Warns cleanups. Add missing prototype.
David Malone [Mon, 3 Dec 2001 21:32:01 +0000 (21:32 +0000)]
Fix one warning - still not warns clean.
David Malone [Mon, 3 Dec 2001 21:28:37 +0000 (21:28 +0000)]
Strip seems to be warns clean on i386 and alpha.
David Malone [Mon, 3 Dec 2001 21:27:45 +0000 (21:27 +0000)]
Warns cleanups.
David Malone [Mon, 3 Dec 2001 21:25:28 +0000 (21:25 +0000)]
Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
David Malone [Mon, 3 Dec 2001 21:22:56 +0000 (21:22 +0000)]
Warns cleanups. Add FreeBSD ID.
David Malone [Mon, 3 Dec 2001 21:20:37 +0000 (21:20 +0000)]
Warns cleanups, add FreeBSD IDs.
David Malone [Mon, 3 Dec 2001 21:15:40 +0000 (21:15 +0000)]
Warnc cleanups. Add FreeBSD IDs.
David Malone [Mon, 3 Dec 2001 21:13:03 +0000 (21:13 +0000)]
Warns cleanups. Don't use gccism -Wall.
David Malone [Mon, 3 Dec 2001 21:12:03 +0000 (21:12 +0000)]
Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile.
David Malone [Mon, 3 Dec 2001 21:10:47 +0000 (21:10 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.
David Malone [Mon, 3 Dec 2001 21:07:23 +0000 (21:07 +0000)]
Warns cleanups.
David Malone [Mon, 3 Dec 2001 21:06:20 +0000 (21:06 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:04:50 +0000 (21:04 +0000)]
Warns cleanup - not ready for WARNS=2 yet.
David Malone [Mon, 3 Dec 2001 21:03:39 +0000 (21:03 +0000)]
Warns cleanups. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:01:52 +0000 (21:01 +0000)]
Warns cleanups:
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
David Malone [Mon, 3 Dec 2001 21:00:33 +0000 (21:00 +0000)]
Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.
David Malone [Mon, 3 Dec 2001 20:58:56 +0000 (20:58 +0000)]
Warns cleanup.
David Malone [Mon, 3 Dec 2001 20:57:49 +0000 (20:57 +0000)]
Warns cleanup (just make main return an int).
David Malone [Mon, 3 Dec 2001 20:56:16 +0000 (20:56 +0000)]
Cast off_t to long long before printing. Use %ll instead of %q incase
long long and quad_t are not the same.
Robert Watson [Mon, 3 Dec 2001 19:10:21 +0000 (19:10 +0000)]
o Update an instance of 'unprivileged_procdebug_permitted' missed
in the previous commit: the comment should also call it
'unprivileged_proc_debug'.
John Hay [Mon, 3 Dec 2001 17:53:09 +0000 (17:53 +0000)]
Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
the kerberos libraries and includes.
John Hay [Mon, 3 Dec 2001 17:45:25 +0000 (17:45 +0000)]
Add the necessary paths to the kerberos libraries and includes.
This fix "make release".
Reviewed by: markm
John Hay [Mon, 3 Dec 2001 17:42:02 +0000 (17:42 +0000)]
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
Brooks Davis [Mon, 3 Dec 2001 17:28:27 +0000 (17:28 +0000)]
Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the
mbuf instead.
Suggested by: fenner
Robert Watson [Mon, 3 Dec 2001 16:12:27 +0000 (16:12 +0000)]
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
Ruslan Ermilov [Mon, 3 Dec 2001 15:12:45 +0000 (15:12 +0000)]
MTU and metric are available with NET_RT_IFLIST.
MFC after: 3 days
David Malone [Mon, 3 Dec 2001 15:07:54 +0000 (15:07 +0000)]
Add missing declaration of ftime.
Submitted by: Sergey Matveychuk <sem@ciam.ru>
Obtained from: NetBSD
MFC after: 1 week
Jacques Vidrine [Mon, 3 Dec 2001 13:14:15 +0000 (13:14 +0000)]
Note fix for OpenSSH `UseLogin yes' environment issue.
Mark Murray [Mon, 3 Dec 2001 12:41:19 +0000 (12:41 +0000)]
Merge from master (crypto) telnet. WARNS fixes for alpha.
Mark Murray [Mon, 3 Dec 2001 12:16:40 +0000 (12:16 +0000)]
More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.
Mark Murray [Mon, 3 Dec 2001 12:13:18 +0000 (12:13 +0000)]
help the alphas out with the WARNS=2 stuff.
Daniel C. Sobral [Mon, 3 Dec 2001 12:07:05 +0000 (12:07 +0000)]
Remove unused filed.
PR: kern/32395
Submitted by: Jonathan Mini <mini@haikugeek.com>
David E. O'Brien [Mon, 3 Dec 2001 11:29:01 +0000 (11:29 +0000)]
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.
Crist J. Clark [Mon, 3 Dec 2001 08:05:52 +0000 (08:05 +0000)]
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
Murray Stokely [Mon, 3 Dec 2001 06:00:24 +0000 (06:00 +0000)]
Fix typo.
PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
Chris D. Faulhaber [Mon, 3 Dec 2001 02:24:24 +0000 (02:24 +0000)]
Move the code merging ACL_USER and ACL_GROUP objects from under
two nested while loops into a separate function.
Obtained from: TrustedBSD Project
Chris D. Faulhaber [Mon, 3 Dec 2001 01:20:52 +0000 (01:20 +0000)]
Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
to enhance readability.
Obtained from: TrustedBSD Project
Mark Murray [Mon, 3 Dec 2001 01:15:28 +0000 (01:15 +0000)]
Use __FBSDID().
Mark Murray [Mon, 3 Dec 2001 01:09:17 +0000 (01:09 +0000)]
Reorder Makefile for style.
Jacques Vidrine [Mon, 3 Dec 2001 00:51:47 +0000 (00:51 +0000)]
Do not pass user-defined environmental variables to /usr/bin/login.
Obtained from: OpenBSD
Approved by: green
Chris D. Faulhaber [Mon, 3 Dec 2001 00:51:36 +0000 (00:51 +0000)]
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
Chris D. Faulhaber [Mon, 3 Dec 2001 00:27:15 +0000 (00:27 +0000)]
Correct example to remove *all* extended ACL entries and
clarify description.
Alfred Perlstein [Mon, 3 Dec 2001 00:25:04 +0000 (00:25 +0000)]
More kernel vfs docco.
Xref vfs_mount(9) from vfs_mount(9)
Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431
Brian Feldman [Mon, 3 Dec 2001 00:21:18 +0000 (00:21 +0000)]
Split out NAI Labs license and BSD license to prevent the accidental
violation of either.
Mark Murray [Mon, 3 Dec 2001 00:16:52 +0000 (00:16 +0000)]
WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)
Mark Murray [Mon, 3 Dec 2001 00:07:59 +0000 (00:07 +0000)]
Use __FBSDID().
Mark Murray [Mon, 3 Dec 2001 00:00:22 +0000 (00:00 +0000)]
Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.
OK'ed by: obrien
Mark Murray [Sun, 2 Dec 2001 23:58:38 +0000 (23:58 +0000)]
Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
Mark Murray [Sun, 2 Dec 2001 23:52:47 +0000 (23:52 +0000)]
Use __FBSDID().
Anton Berezin [Sun, 2 Dec 2001 23:50:40 +0000 (23:50 +0000)]
Fix typos getpeerid -> getpeereid.
PR: docs/32442
Reviewed by: dd
Mark Murray [Sun, 2 Dec 2001 23:44:42 +0000 (23:44 +0000)]
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:40:46 +0000 (23:40 +0000)]
WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
Mark Murray [Sun, 2 Dec 2001 23:34:16 +0000 (23:34 +0000)]
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:29:26 +0000 (23:29 +0000)]
Turn on WARNS=2.
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:12:33 +0000 (23:12 +0000)]
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.
Mark Murray [Sun, 2 Dec 2001 23:10:57 +0000 (23:10 +0000)]
Protect "make world", as I am doing some (potentially) dangerous
WARNS=2 fixes.
Add a commented out WARNS=2 to indicate future intentions.
Mark Murray [Sun, 2 Dec 2001 23:09:09 +0000 (23:09 +0000)]
Turn on WARNS=2. this compiles cleanly.
Mark Murray [Sun, 2 Dec 2001 23:04:14 +0000 (23:04 +0000)]
Slight makefile style.
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 22:46:47 +0000 (22:46 +0000)]
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 22:44:14 +0000 (22:44 +0000)]
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID().
Sort some headers.
Mark Murray [Sun, 2 Dec 2001 21:24:03 +0000 (21:24 +0000)]
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:54:57 +0000 (20:54 +0000)]
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.
Mark Murray [Sun, 2 Dec 2001 20:45:24 +0000 (20:45 +0000)]
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:40:22 +0000 (20:40 +0000)]
Use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:23:02 +0000 (20:23 +0000)]
Use __FBSDID()
Mark Murray [Sun, 2 Dec 2001 20:13:42 +0000 (20:13 +0000)]
WARNS=2 fix, remove 'register' and use __FBSDID().
Chris D. Faulhaber [Sun, 2 Dec 2001 18:46:33 +0000 (18:46 +0000)]
o Expand the explaination of the -b option WRT the resulting
group ACL entry in relation to the existing group and mask
ACL entries.
o Move the explanation of multiple ACL entries on the command
line to the ACL ENTRIES section.
Obtained from: TrustedBSD Project
Peter Wemm [Sun, 2 Dec 2001 18:27:40 +0000 (18:27 +0000)]
Use the merged strtod.c everywhere. This has been tested on alpha and
ia64.
Chris D. Faulhaber [Sun, 2 Dec 2001 18:15:53 +0000 (18:15 +0000)]
o Correct error message forgotten in the last commit (malloc() -> calloc())
o Fix style nits
Submitted by: bde
Robert Watson [Sun, 2 Dec 2001 15:22:56 +0000 (15:22 +0000)]
o Uniformly copy uap arguments into local variables before grabbing
giant, and make whitespace more consistent around giant-frobbing.
Robert Watson [Sun, 2 Dec 2001 15:15:29 +0000 (15:15 +0000)]
o Remove KSE race in setuid() in which oldcred was preserved before giant
was grabbed. This was introduced in 1.101 when the giant pushdown
for kern_prot.c was originally performed.
Robert Watson [Sun, 2 Dec 2001 15:07:10 +0000 (15:07 +0000)]
o General style, formatting, etc, improvements:
- uid's -> uids
- whitespace improvements, linewrap improvements
- reorder copyright more appropriately
- remove redundant MP SAFE comments, add one "NOT MPSAFE?"
for setgroups(), which seems to be the sole un-changed system
call in the file.
- clean up securelevel_g?() functions, improve comments.
Largely submitted by: bde
Mark Murray [Sun, 2 Dec 2001 13:55:09 +0000 (13:55 +0000)]
WARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 13:48:40 +0000 (13:48 +0000)]
WARNS=2 fixup