Tim J. Robbins
a1a27143bd
fstat() returns information about the target of any symbolic link that
...
was opened, not the link itself. Remove dead code.
2002-06-15 08:31:19 +00:00
Brian Somers
3627fe880c
A better prinflike fix...
2002-06-15 08:03:59 +00:00
Brian Somers
10be78d3ae
Remove whitespace at the end of lines.
2002-06-15 08:03:30 +00:00
Tim J. Robbins
232a0ff51d
Improve parsing of character and equivalence classes:
...
[:*] and [=*] are parsed as `infinitely many repetitions of :' (or *)
instead of literal characters (SUSv3)
2002-06-15 07:38:27 +00:00
Chris Costello
5f9c048ce7
o Move more information from BUGS into SECURITY CONSIDERATIONS and
...
condense the redundant bits.
o Provide an example for using snprintf over sprintf. This may be
supplemented with an asprintf() example soon.
Sponsored by: DARPA, NAI Labs
2002-06-15 06:00:56 +00:00
Alan Cox
e30616dbfe
o Remove the acquisition and release of Giant from munlock().
...
Reviewed by: tegge
2002-06-15 05:05:04 +00:00
Brian Somers
3db951841c
Fix a printflike format error
2002-06-15 01:36:36 +00:00
Brian Somers
61fe3f63bc
Remove a forgotten diagnostic
2002-06-15 01:35:03 +00:00
Giorgos Keramidas
b6fa516a8e
Add missing verb.
2002-06-14 22:15:22 +00:00
Matt Jacob
3e104c7a84
Note that sio is required.
...
PR: 39305
Submitted by: Michael Hogsett <hogsett@csl.sri.com>
MFC after: 1 week
2002-06-14 20:20:13 +00:00
Maxime Henrion
fe93750656
Change vfs_copyopt() so that the length argument passed to it
...
must be the exact same size as the mount option. This makes
vfs_copyopt() much more useful.
2002-06-14 20:04:21 +00:00
Garrett Wollman
250917547b
Implement the <sys/statvfs.h> header. Related changes to <sys/types.h>
...
are still awaiting a worldstone. Functions and their declarations to
come later.
2002-06-14 19:37:06 +00:00
Andrew R. Reiter
fe1c49fbba
- Chainsaw the storage pool code. This was being used by a bunch of code
...
within the HARP atm stack and the hea and hfa device drivers, but since
all of these systems were changed to use UMA zones, there is no use for
the api any longer.
2002-06-14 19:31:07 +00:00
Alan Cox
1d7cf06c8c
o Use vm_map_wire() and vm_map_unwire() in place of vm_map_pageable() and
...
vm_map_user_pageable().
o Remove vm_map_pageable() and vm_map_user_pageable().
o Remove vm_map_clear_recursive() and vm_map_set_recursive(). (They were
only used by vm_map_pageable() and vm_map_user_pageable().)
Reviewed by: tegge
2002-06-14 18:21:01 +00:00
Andrew R. Reiter
b6037a7953
- Turn the hea and hfa HARP storage pools into UMA zones and insert
...
the necesary uma_zcreate() and uma_zdestroy calls into module loading
handler and the device attach handling.
- Change the related HARP netatm code to use UMA zone functions when
dealing with the zones that were formerly the ATM interface (hea, hfa)
storage pools.
- Have atm_physif_freenifs() now get passed an uma_zone_t so that we can
properly free the allocated NIF's back to their zone.
This should be the last commit to remove any code that makes use of the
netatm storage pool api. I will be removing the api code within the near
future.
Reviewed by: mdodd
2002-06-14 16:59:38 +00:00
Tim J. Robbins
dc20d4b9d4
Move the #include and #define's to the top of the file.
2002-06-14 15:56:52 +00:00
Tim J. Robbins
4efc23dabf
Bump the size of the equivalence set to NCHARS; this file was left out
...
of a previous commit implementing equivalence classes.
2002-06-14 15:53:38 +00:00
Nick Sayer
dc957e3d2b
Add an entry for the US Robotics 2415.
...
PR: i386/38879
Submitted by: jordi_yc@lycos.es
MFC after: 1 week
2002-06-14 15:32:01 +00:00
Tim J. Robbins
2533f1e42a
Use the Cm macro for the clear, init, reset and longname operands.
2002-06-14 15:16:03 +00:00
Tim J. Robbins
e6da78f41d
Adjust the exit status to conform to SUSv3 and document the fact it takes
...
multiple `argument' operands.
2002-06-14 15:08:05 +00:00
Tim J. Robbins
6eb0710e98
Sort sections. Avoid using "The -? option" at the start of option descriptions.
2002-06-14 10:11:41 +00:00
Juli Mallett
ca2be2ff45
Use an usage() rather than doing the fprintf inside option parsing.
2002-06-14 09:54:48 +00:00
Tim J. Robbins
e73c3d279c
Don't treat the trailing ']' of an equivalence class expression as a
...
character in the set. tr -d '[=a=]' was deleting ]'s as well as a's.
Noticed by the textutils test suite.
2002-06-14 09:53:11 +00:00
Tim J. Robbins
dfac4f3695
Add the P1003.1-2001 -C option which complements the set of characters
...
(not byte values) specified by the first string argument.
2002-06-14 08:58:30 +00:00
Robert Watson
8973ba1b6e
Reserve two constants for managing socket MAC labels via socket options.
2002-06-14 08:49:04 +00:00
Robert Watson
9d697bebc8
Whitespaec consistency.
2002-06-14 08:46:07 +00:00
Jeffrey Hsu
3ce144ea88
Notify functions can destroy the pcb, so they have to return an
...
indication of whether this happenned so the calling function
knows whether or not to unlock the pcb.
Submitted by: Jennifer Yang (yangjihui@yahoo.com )
Bug reported by: Sid Carter (sidcarter@symonds.net )
2002-06-14 08:35:21 +00:00
Tim J. Robbins
85f6c317ea
Implement support for equivalence classes ([=e=]) when the mapping is
...
one-to-one (SUSv3)
2002-06-14 07:37:08 +00:00
Robert Watson
fa3b8ffb32
Add a comment about how we should use vn_open() here instead of directly
...
invoking VOP_OPEN(). This would reduce code redundancy with the rest
of the kernel, and also is required for MAC to work properly.
2002-06-14 07:24:01 +00:00
Warner Losh
a86d3e445e
I'm keeping an eye on xten
2002-06-14 06:59:49 +00:00
Warner Losh
232ff1c787
document hw.pcic.ignore_pci
2002-06-14 06:56:35 +00:00
Warner Losh
27aa590f87
Add US Robotics Wireless Card 2410
...
Also add a snarky note about telling me about changes to this file so I can
keep OpenBSD and FreeBSD's copy of this man page more or less in sync.
2002-06-14 06:56:03 +00:00
Robert Watson
4a85ccbe6d
Missed in earlier commit -- I did cvs commit src/lib/libc. Oops.
2002-06-14 04:02:25 +00:00
Mike Silbersack
eb5afeba22
Re-commit w/fix:
...
Ensure that the syn cache's syn-ack packets contain the same
ip_tos, ip_ttl, and DF bits as all other tcp packets.
PR: 39141
MFC after: 2 weeks
This time, make sure that ipv4 specific code (aka all of the above)
is only run in the ipv4 case.
2002-06-14 03:08:05 +00:00
Mike Silbersack
70d2b17029
Back out ip_tos/ip_ttl/DF "fix", it just panic'd my box. :)
...
Pointy-hat to: silby
2002-06-14 02:43:20 +00:00
Mike Silbersack
21c3b2fc69
Ensure that the syn cache's syn-ack packets contain the same
...
ip_tos, ip_ttl, and DF bits as all other tcp packets.
PR: 39141
MFC after: 2 weeks
2002-06-14 02:36:34 +00:00
Tim J. Robbins
6689fb2bbc
Exit with non-zero status if an input file can not be opened. This was
...
broken by rev. 1.22.
2002-06-14 02:20:05 +00:00
Maxim Sobolev
8701af62ee
Fix one serious bug and one potential problem with in-place editing code:
...
- original version of code worked incorrectly when more than one
input files were specified - it was moving the last line from the 1st file
to be the first line of the 2nd, last line of the 2nd to be the first
line of the 3rd and so on;
- use mmap()->write() to create temporary file instead of
malloc()->read()->write(), which was not only slower, but also did not
bother to free allocated memory once backup file was created, potentially
leading to memory exhausting when regex is applied to a big file or a large
number of small ones.
2002-06-14 01:28:52 +00:00
Bosko Milekic
ad1026f912
Set system_map for both mbuf_map and clust_map to 1, in mbuf_init().
...
Submitted by: Tor Egge (tegge)
Pointed out to me by: hsu
2002-06-13 23:53:42 +00:00
Robert Watson
6480dc743e
Regen.
2002-06-13 23:44:50 +00:00
Robert Watson
65772a1a0a
Keep POSIX.1e capabilities system call placeholders, but remove definitions.
2002-06-13 23:43:53 +00:00
Robert Watson
820a52632e
No POSIX.1e capabilities in the main tree yet.
2002-06-13 23:40:13 +00:00
Doug Barton
ca2ca2ab60
In addition to exiting the dialog via ESC, the user could also have
...
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
Chris Costello
7bc7869122
Include information on the dangers of passing a user-supplied string as
...
a format string. This will later on be changed to a reference to the
FreeBSD Security Architecture after it has been committed.
PR: docs/39320
Sposnored by: DARPA, NAI Labs
2002-06-13 23:35:22 +00:00
Robert Watson
a3cce19f7d
kern_cap.c no longer needed.
2002-06-13 23:19:34 +00:00
Robert Watson
4aaae52d99
opt_cap.c no longer needed
2002-06-13 23:17:39 +00:00
Jeffrey Hsu
9c68f33a9d
Because we're holding an exclusive write lock on the head, references to
...
the new inp cannot leak out even though it has been placed on the head list.
2002-06-13 23:14:58 +00:00
Robert Watson
1bde53c130
POSIX.1e capabilities aren't here yet, don't put an option for it
...
in the options file.
2002-06-13 22:41:23 +00:00
Gordon Tetlow
825bb04125
Add the final bits that allow the use of rc.d. Note that you can toggle
...
between rc.d and the classic boot scripts based on the rcng variable in
your rc.conf. Defaults to classic boot scripts.
Submitted by: Mike Makonnen
2002-06-13 22:30:02 +00:00
Gordon Tetlow
2952767837
Add a couple of variables for rc.d
...
Submitted by: Mike Makonnen
2002-06-13 22:27:31 +00:00