Dag-Erling Smørgrav
3a669c52a8
Pseudofsize procfs(5).
2001-12-04 01:35:06 +00:00
David E. O'Brien
3bff55e81b
Back out rev 1.48. The problem is with a bogus __attribute__ in stdio.h.
2001-12-04 01:29:54 +00:00
David E. O'Brien
38f54953b3
Remove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.
...
I leave it up to someone else to fix this breakage properly.
2001-12-04 01:24:10 +00:00
Dag-Erling Smørgrav
0ed55f1f2a
Reduce namespace pollution by removing argument names from prototypes.
2001-12-04 01:23:02 +00:00
Dag-Erling Smørgrav
6598654546
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
2001-12-04 01:12:51 +00:00
Dag-Erling Smørgrav
89db7b8c6d
Add prototype for _ftp_request().
2001-12-04 01:10:34 +00:00
Dag-Erling Smørgrav
102a87c1e1
Reorganize to reduce code duplication.
2001-12-04 01:09:19 +00:00
Dag-Erling Smørgrav
738859d47e
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
Dag-Erling Smørgrav
b29a303db7
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
John Baldwin
9b37da1390
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
Scott Long
c3d15322a1
Use d_thread_t to reduce diffs between current and stable.
...
Spell ACQUIRE correctly.
2001-12-03 22:55:14 +00:00
Jacques Vidrine
eb5bc300e8
Update version string since we applied a fix for the UseLogin issue.
2001-12-03 22:47:51 +00:00
Bruce Evans
08b443022e
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
David Malone
9d26129dba
Yes seems to be warns clean on alpha and i386.
2001-12-03 21:42:15 +00:00
David Malone
6215f63b5e
Some warns cleanups - I think this is still not warns clean on the alpha.
2001-12-03 21:40:07 +00:00
David Malone
57a4972d78
Warns cleanup. Add FreeBSD ID to Makefile.
2001-12-03 21:39:04 +00:00
David Malone
c83caf7b8d
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:37:35 +00:00
David Malone
0fce1f20c8
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
2001-12-03 21:33:59 +00:00
David Malone
c86e1d1f86
Warns cleanups. Add missing prototype.
2001-12-03 21:32:54 +00:00
David Malone
0050672a16
Fix one warning - still not warns clean.
2001-12-03 21:32:01 +00:00
David Malone
47e68d542a
Strip seems to be warns clean on i386 and alpha.
2001-12-03 21:28:37 +00:00
David Malone
45af1a4cbd
Warns cleanups.
2001-12-03 21:27:45 +00:00
David Malone
6e878749df
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
David Malone
b139689c6b
Warns cleanups. Add FreeBSD ID.
2001-12-03 21:22:56 +00:00
David Malone
586ffa2e8a
Warns cleanups, add FreeBSD IDs.
2001-12-03 21:20:37 +00:00
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