Dima Dorfman
53950232dd
Minor cleanup: sort includes, fix name.
2001-06-25 01:21:13 +00:00
Jordan K. Hubbard
d067d730b9
Fix crypto targets to be user-overridable and also obey the
...
NO_SENDMAIL flag if set. The whole NO_FOO mechanism in /usr/src
is pretty bogus and needs to be re-examined in the context of a
larger argument about modularity, but that's something for another
time.
Submitted by: Peter Pentchev <roam@orbitel.bg>
2001-06-25 00:43:10 +00:00
Dima Dorfman
727b8ed309
Xref to extattr(2) and extattr(3).
2001-06-24 23:59:22 +00:00
Dima Dorfman
ce1e308f7a
Add a link to extattr.2 (from extattr_get_file.2). The other names
...
are too specific and too long, and extattr.2 makes a nice point of
reference for "extattr-related syscalls".
2001-06-24 23:58:27 +00:00
Dima Dorfman
444a2d61e8
Add a manual page for extattr_string_to_namespace and
...
extattr_namespace_to_string.
Reviewed by: rwatson
2001-06-24 23:54:46 +00:00
Dima Dorfman
7309915e7a
Nuke unused variables.
2001-06-24 23:41:57 +00:00
Jun Kuriyama
8194b338dc
Merge from ipfw.8 (1.57).
...
o Sync with netinet6/ip6_fw.c (1.12).
MFC after: 10 days
2001-06-24 23:40:09 +00:00
Dima Dorfman
384d80b3b9
Nuke unused variables.
2001-06-24 23:31:07 +00:00
Dima Dorfman
a8b81a75df
Include missing header files whicih define functions for which gcc has
...
builtints (e.g., exit, strcmp).
2001-06-24 23:25:59 +00:00
Dima Dorfman
9582ea7e62
Include missing header files which define functions for which gcc has
...
builtints (e.g., exit, strcmp).
2001-06-24 23:22:14 +00:00
Dima Dorfman
cafefe8c1b
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
Jun Kuriyama
6ce2587d28
Merge from netinet/ip_fw.c (1.117 -> 1.118).
...
o Use syslog(3) interface for logging.
Reviewed by: ume
MFC after: 10 days
2001-06-24 22:41:00 +00:00
Dima Dorfman
b5bf845d5d
Xref extattr_set_file(2).
2001-06-24 21:14:46 +00:00
Dima Dorfman
3627fb0997
Xref extattr_get_file(2).
2001-06-24 21:13:58 +00:00
Dima Dorfman
cfbcaeda78
Add a namespace argument to one of the examples.
2001-06-24 21:13:01 +00:00
Dima Dorfman
44fe68c421
mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.
2001-06-24 20:58:20 +00:00
Dima Dorfman
17011fc056
The fact that phk wrote this is not a bug!
2001-06-24 20:56:39 +00:00
Hajimu UMEMOTO
ead6be55b8
remove IN6_IS_ADDR_ANY macro (outside of standard, #if 0'ed for a long time)
...
Obtained from: KAME
MFC after: 10 days
2001-06-24 20:43:01 +00:00
Dima Dorfman
159f80bfbc
Reword the sentence that I screwed up in the last commit.
...
Submitted by: Erik Trulsson <ertr1013@student.uu.se>
2001-06-24 20:34:31 +00:00
Dima Dorfman
3876038a6f
Add missing includes and sort includes.
2001-06-24 20:28:19 +00:00
Dima Dorfman
8006f275bb
Include missing header files.
2001-06-24 20:26:00 +00:00
Hajimu UMEMOTO
0554093b72
disallow setsockopt(IPV6_V6ONLY) for already bound sockets.
...
Obtained from: KAME
MFC after: 10 days
2001-06-24 20:25:38 +00:00
Dima Dorfman
2694efd413
Include missing header files which define functions for which gcc has
...
builtints (e.g., exit, strcmp).
2001-06-24 20:25:23 +00:00
Dima Dorfman
c869717158
Include stdlib.h for exit(3).
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-24 20:05:30 +00:00
Dima Dorfman
7a19d1bbb9
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Dima Dorfman
948a3f54a7
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit).
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-24 19:41:18 +00:00
Dima Dorfman
471caa34a4
Silence warning and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
2001-06-24 18:56:00 +00:00
Dima Dorfman
0e304b4853
Constify and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
2001-06-24 18:51:40 +00:00
Dima Dorfman
167ce4fb00
Constify, add a prototype, and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
2001-06-24 18:43:33 +00:00
Dima Dorfman
dfe60c7914
Constify and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
2001-06-24 18:41:30 +00:00
Matt Jacob
d1d080f810
fix oopslet for PROC_UNLOCK_NOSWITCH
2001-06-24 18:23:17 +00:00
Dima Dorfman
8d3c1246b8
Use strdup(3) instead of reimplementing it inline.
2001-06-24 18:21:52 +00:00
Matt Jacob
f053d7777b
cleanup some of the XPORT_FC code
2001-06-24 18:19:24 +00:00
Matt Jacob
c1c84cd9c5
Add a transport settings variant for Fibre Channel.
2001-06-24 18:17:45 +00:00
Matt Jacob
d73ce75615
Add CAM_NEW_TRAN_CODE as an option (to be included in opt_cam.h).
2001-06-24 18:15:58 +00:00
Dima Dorfman
acaa9950a4
Reword a sentence to make it proper English.
2001-06-24 18:11:42 +00:00
Ian Dowse
99d4ecdfc0
Clean up the addrmerge() function, which was over-complicated and
...
contained a number of memory leaks. The changes include:
- Add a comment describing what addrmerge() does.
- Deal with 0.0.0.0./::. or AF_LOCAL callers correctly.
- Use rpcbind_get_conf() instead of getnetconfigent() so we don't
have to remember to free the returned netconfig struct.
- Make just one pass through the ifaddrs list; we can pick up a fallback
interface address in the same pass as the netmask comparison.
- Define and use SA2SIN* macros to avoid the need for loads of
protocol-specific local variables.
- Use mostly protocol-independent code for building the netbuf version
of the address to be returned.
- Use the common cleanup code for virtually all error and non-error
cases, fixing a number of memory leaks.
2001-06-24 15:03:06 +00:00
Hajimu UMEMOTO
610be6ce41
on icmp6 node information query (FQDN), do not return hostnames with
...
two dots (like "foo..bar"). 0-length labels are not distinguishable
with multiple name replies.
Obtained from: KAME
MFC after: 10 days
2001-06-24 14:59:34 +00:00
Hajimu UMEMOTO
3e617560d9
decrease warning
...
Obtained from: KAME
MFC after: 10 days
2001-06-24 14:57:20 +00:00
Hajimu UMEMOTO
99fe1b3717
Nuke the comment about MIP6. We don't have MIP6 code, yet.
...
MFC after: 10 days
2001-06-24 14:55:18 +00:00
Hajimu UMEMOTO
8acb22906f
inject outbound packet to BPF.
...
Submitted by: itojun
Obtained from: KAME
MFC after: 10 days
2001-06-24 14:52:55 +00:00
Dag-Erling Smørgrav
0afcb0871d
Constify, staticize and add a missing include; add WARNS?=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks
2001-06-24 12:38:28 +00:00
David Malone
db3cc2d09f
Don't dereference a NULL pointer if we fail to get a sendfilebuf.
2001-06-24 12:27:30 +00:00
David Malone
5386636d3e
Add prototypes and turn on WARNS=?2.
2001-06-24 12:23:54 +00:00
David Malone
7ce87f1205
Allow getcred sysctl to work in jailed root processes. Processes can
...
only do getcred calls for sockets which were created in the same jail.
This should allow the ident to work in a reasonable way within jails.
PR: 28107
Approved by: des, rwatson
2001-06-24 12:18:27 +00:00
David Malone
5e209ca776
Get rid of some constness warnings.
2001-06-24 12:08:47 +00:00
David Malone
a933327c4b
Don't add -Wall, as it's a compiler specific flag.
2001-06-24 09:20:42 +00:00
David Malone
b585f768e1
Fix most of the warnings given by WARNS=2.
2001-06-24 09:20:07 +00:00
Benno Rice
e2d53d7c4a
Fix asm constraints for atomic_cmpset_32. This fix may also be needed
...
elsewhere.
2001-06-24 06:36:28 +00:00
Matthew Dillon
c7503f60c4
After exhaustive discussions and some meandering and confusion, enough
...
people are on track with the cause and effect of this, and although
fixing this severely degenerate case appears to violate the letter of
POSIX.1-200x, Bruce and I (and enough others) agree that it should be
comitted.
So, this patch generates an ENOENT error for any attempt to do a path lookup
through an empty symlink (e.g. open(), stat()).
Submitted by: "Andrey A. Chernov" <ache@nagual.pp.ru>
Reviewed by: bde
Discussed exhaustively on: freebsd-current
Previously committed to: NetBSD 4 years ago
2001-06-24 05:24:41 +00:00