Jake Burkholder
f2602cd538
Comment out the retrieval of a termination function from %g1. It is
...
doubtful this will ever be used by anything and rtld uses %g1.
Comment out references to _init and _fini for now too.
2002-01-13 06:17:19 +00:00
Daniel Eischen
aee4cebfe7
Include <stddef.h> to fix build problem when namespace pollution
...
by <signal.h> (including <time.h> so that NULL is accidentally defined)
is removed.
Style nits.
Submitted by: bde
2002-01-11 19:46:08 +00:00
Bruce Evans
b9c35b6942
Fixed unsorting and splitting of SRCS in previous commit.
2002-01-11 17:10:35 +00:00
Bruce Evans
614acf2fad
Fixed missing backslash in previous commit.
2002-01-11 16:08:49 +00:00
Bruce Evans
b944866c25
Fixed accumulated unsorting and some other style bugs (long lines).
2002-01-11 15:59:30 +00:00
Bruce Evans
afac94af5c
Replaced bogus cross references by the usual one for the ctype family
...
(ctype(3)).
2002-01-11 15:39:50 +00:00
Bruce Evans
87e0032026
Removed assertion that isblank() conforms to C90 too. This assertion
...
is correct but less than useful. There is some uncertainty about whether
isblank() is in C99, but it is certainly not in C90. It just conforms
to C89 because it is a conforming extension.
2002-01-11 15:21:03 +00:00
Bruce Evans
5fb3acfaaf
Fixed unsorting of almost all lists in previous commit.
...
Removed assertion that isblank() is in C99 here too.
2002-01-11 15:15:17 +00:00
Bruce Evans
758671eb0d
Fixed unsorting of MLINKS in previous commit.
...
Fixed unsorting of SRCS in rev.1.18.
2002-01-11 14:57:11 +00:00
Nik Clayton
6a3003ce51
Remove assertion that isblank() is in C99, pointed out by ache.
2002-01-10 12:22:00 +00:00
Daniel Eischen
b66b8326e5
Add getcontext, setcontext, makecontext, and swapcontext. These
...
functions are defined in SUSv2 and the latest POSIX spec.
Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my
alpha assembly.
Approved by: -arch
2002-01-10 02:40:59 +00:00
Sheldon Hearn
7f6a22a549
Document behaviour with respect to interval timers.
...
PR: 33156
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2002-01-09 14:44:06 +00:00
Ruslan Ermilov
58c0fdd850
mdoc(7) police: add missing markup bits for ``errno''.
2002-01-09 14:03:54 +00:00
Ruslan Ermilov
ce9df6eefc
mdoc(7) police:
...
Stop abusing the .%J macro for where the .Pa macro should have been used.
2002-01-09 14:01:22 +00:00
Nik Clayton
26dabb6003
From the PR:
...
1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet
they are not documented in any of the manpages.
2. The ctype manpage references a non-existent manpage for
digittoint().
3. The isascii() manpage claims it is standards compliant, when
it isn't.
4. isblank() claims it is _not_ standards compliant, when it
is.
Fix by including the appropriate .Nm entries, and with a new digittoint.3
page.
PR: docs/26451
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
2002-01-09 13:43:31 +00:00
John Baldwin
7b5f59222e
Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On the
...
alpha these bugs didn't cause any problems because it was little endian,
but on sparc64, we ended up with garbage for the IP address when we tried
to contact the server. (Usually 3.253.0.0)
Not objected to by: wpaul
2002-01-08 18:05:03 +00:00
Chris D. Faulhaber
98a32f6de6
Correct phrase 'get an ACL' to 'set an ACL'.
...
PR: 33660
Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 22:46:14 +00:00
Matthew Dillon
d010343b82
Modify Delete_Chunk() into Delete_Chunk2() which can take a flags
...
argument. Leave a compatibility shim for Delete_Chunk().
Implement DELCHUNK_RECOVER flag so sysinstall can ask libdisk
to recover space when deleting a chunk.
2002-01-07 07:47:25 +00:00
Dima Dorfman
bfe4f323ec
We are munmap(2), so there's no need to list ourselves in the SEE ALSO
...
section; instead, list our partner in crime, mmap(2).
PR: 33153
Submitted by: Faried Nawaz <fn@hungry.org>
2002-01-07 06:12:25 +00:00
Dima Dorfman
cf1b88ff74
Nuke the paragraph that says "One can obtain user connection request
...
data without confirming the connection by issuing a recvmsg(2) [...]".
There's no such code in the kernel.
PR: 26861
Submitted by: Richard A Steenbergen <ras@e-gerbil.net>,
Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 06:10:37 +00:00
Dima Dorfman
b06e8b97a9
Suggest using memmove(3) if src and dst may overlap.
...
PR: 33298
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
2002-01-07 06:03:37 +00:00
Chris Costello
6ba681a185
All information from the "BUGS" section not belonging in "SECURITY
...
CONSIDERATIONS" moved to "COMPATIBILITY".
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-06 21:48:37 +00:00
Chris Costello
e125c135a8
Add new "SECURITY CONSIDERATIONS" sections.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-06 21:16:41 +00:00
Kelly Yancey
2adfea6f6c
Enable WARNS?=2.
2002-01-06 08:47:19 +00:00
Chris Costello
41f91cb492
Add a new `SECURITY CONSIDERATIONS' section. Sample code similar to
...
the first revision of strcpy(3)'s section is included, but should be
removed as the Security Architecture document is committed and
completed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:44:34 +00:00
Chris Costello
80080d642e
Include a section cross-reference to EXAMPLES' in
SECURITY
...
CONSIDERATIONS' as a source for relevant sample code.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:36:47 +00:00
Chris Costello
8680aaea87
Remove the example from SECURITY CONSIDERATIONS. This is mostly
...
duplicated code from EXAMPLES.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-05 20:24:38 +00:00
Yaroslav Tykhiy
f381837242
Minor grammar and punctuation fixes
...
in the SO_ACCEPTFILTER description.
2002-01-04 18:17:07 +00:00
Yaroslav Tykhiy
996d4dc275
State clearly that one should call listen(2) on a socket
...
at first and try to set an accept_filter(9) on it only after that.
Also document errno value that will be set if installing the
filter on a non-listening socket.
2002-01-04 18:12:38 +00:00
Andrey A. Chernov
50a5189f9e
Turn off USER_LOCKING which allows intruder to completely disable OPIE
...
for some user just by entering user name and doing nothing on password prompt
2002-01-03 16:04:57 +00:00
Chris Costello
17dc85f4d0
Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.
...
This will be trimmed as the FreeBSD Security Architecture document
is fleshed out and committed.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-01-02 19:56:57 +00:00
Jake Burkholder
fbeabbfad6
Add ifdef sparc64.
2002-01-02 06:54:18 +00:00
Jake Burkholder
29c3ea8424
Connect user trap code to the build.
2002-01-01 21:59:53 +00:00
Jake Burkholder
6ce4e876a7
Add libc side of user trap handling.
...
Add support for handling floating point disabled traps mostly in userland
for the simple single threaded case. Not yet enabled by default.
Implement __sparc_utrap_install as specified by the sparc abi.
2002-01-01 21:58:32 +00:00
Dag-Erling Smørgrav
d6811c6851
Remove long-obsolete README.
2002-01-01 16:27:26 +00:00
Dag-Erling Smørgrav
a8e9bd8750
In verbose mode, display the full error message from the server, stripping
...
it of HTML tags and comments.
PR: bin/32989
MFC after: 1 week
2002-01-01 16:25:29 +00:00
Dag-Erling Smørgrav
f67efa37d6
Remove VT100 escapes from debugging messages now that they're enabled by
...
default.
PR: 32988
MFC after: 3 days
2002-01-01 14:48:09 +00:00
Andrey A. Chernov
f7388e0d38
Back out errno preserving
2001-12-30 03:34:46 +00:00
Jake Burkholder
e5a86020b0
Adapt to new kernel tsb structure.
2001-12-29 06:43:36 +00:00
Jake Burkholder
1b46a084f3
Make sure curbrk is well aligned.
2001-12-29 06:40:58 +00:00
Jake Burkholder
c0c4d2cf25
Use jmpbuf offsets, not ucontext_t.
2001-12-29 06:40:35 +00:00
Jake Burkholder
cd4f8a8c2c
Add .register directives for gcc3.
...
Adapt to jmpbuf no longer being a ucontext_t.
Restore the context "by hand" in longjmp and call sigprocmask, instead
of just using sigreturn.
2001-12-29 06:39:53 +00:00
Jake Burkholder
c5a29982d3
__infinity is not const.
2001-12-29 06:38:31 +00:00
Jake Burkholder
c1682cb423
Add jmpbuf offsets. Remove ucontext offsets.
2001-12-29 06:38:06 +00:00
Jake Burkholder
5b3fb165d9
Add .register directives for gcc3.
...
Adapt to jmpbuf no longer being a ucontext_t.
Call abort if longjmperror returns.
2001-12-29 06:37:33 +00:00
Jake Burkholder
cafb96f2df
Include utrap.h for soft trap types.
2001-12-29 06:36:07 +00:00
Jake Burkholder
024675337e
We use HIDENAME(minbrk) on sparc64 too.
2001-12-29 06:35:19 +00:00
Bruce Evans
b2035c2b74
Fixed a missing "const".
2001-12-28 20:59:44 +00:00
Jake Burkholder
be5fa99a1e
Fix typo (unclosed comment).
2001-12-28 17:55:15 +00:00
Mike Pritchard
432fda11a4
Add xref to jail(2).
...
PR: docs/33177
Submitted by: Tom Rhodes <darklogik@pittgoth.com>
2001-12-28 09:26:45 +00:00