Alfred Perlstein
261e68702a
Add a prototype for __rpcb_findaddr_timed to silence a warning.
2002-07-14 23:14:08 +00:00
Alfred Perlstein
cffc0b5784
Silence several warnings due to functions that needed to take a void *
...
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
2002-07-14 23:14:02 +00:00
Garrett Wollman
d04f03fc63
Fix a few bugs in the ERRORS section.
2002-07-13 19:38:59 +00:00
Garrett Wollman
6e97e157e8
Add statvfs(3) to the build.
...
Tested by: Steve Kargl
2002-07-13 19:33:20 +00:00
Garrett Wollman
b3928a066a
Well, it's not quite strxfrm(3) but at least it's honest.
2002-07-13 19:29:44 +00:00
Giorgos Keramidas
079167d6d7
Various typo fixes.
...
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
2002-07-12 01:30:18 +00:00
Garrett Wollman
4f6799e61e
A simple implementation of statvfs(3) (one step above the trivial one).
...
Not yet connected to the build (awaiting documentation).
2002-07-11 22:54:11 +00:00
Alfred Perlstein
62947a57cc
Update manpages to reference 'timed' rpc functions
2002-07-11 22:25:16 +00:00
Juli Mallett
cf6c0643ee
Fill out (zero) and fill in (when doing getino()) the minimum and maximum
...
inodes in our inoblock (disk->d_ino{min,max}) appropriately.
2002-07-11 21:27:26 +00:00
David E. O'Brien
3cc44e2238
RELENG_4_6 PL 1 libc bits with non-vulnerable resolver.
...
Security Advisory: FreeBSD-SA-02:28.resolv
2002-07-11 20:40:24 +00:00
Alfred Perlstein
4e37855e01
Add functions allowing for the user to specify a timeout for rpc functions.
...
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
2002-07-11 16:23:04 +00:00
Thomas Moestl
58d646cdd3
Add missing ret instruction to the ptrace() syscall wrapper.
2002-07-11 15:48:02 +00:00
Garrett Wollman
f646fac5e0
Fix some comments.
2002-07-10 16:35:02 +00:00
Maxim Konovalov
25a6539985
Fix a typo.
...
MFC after: 3 days
2002-07-10 09:06:42 +00:00
Daniel Eischen
582dfa2dd4
Oops, forgot to set the suspended flag for threads that are created
...
initially suspended. This was preventing such threads from getting
resumed.
Reported by: Bill Huey <billh@gnuppy.monkey.org>
2002-07-09 13:24:52 +00:00
Luigi Rizzo
b3063f064c
Fix a bug caused by dereferencing an invalid pointer when
...
no punch_fw was used.
Fix another couple of bugs which prevented rules from being
installed properly.
On passing, use IPFW2 instead of NEW_IPFW to compile the new code,
and slightly simplify the instruction generation code.
2002-07-08 22:57:35 +00:00
Maxime Henrion
193d036860
Typo fix: Setlogin() -> setlogin().
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2002-07-08 20:16:15 +00:00
Mike Barcroft
f71e6a5243
Bring poll.h up to conformance with POSIX.1-2001 by adding some
...
visibility conditionals, adding the nfds_t type, and changing the
poll() prototype a little. Update the manual to match.
2002-07-08 16:37:35 +00:00
Jake Burkholder
f9751ec2cd
Add a hack (kludge?) to avoid trying to access files backed by disk
...
devices as though they were backed by network devices.
2002-07-07 23:01:36 +00:00
Daniel Harris
883d00eb92
s/unavilable/unavailable/
...
PR: 39446
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 day
2002-07-07 18:08:51 +00:00
Jake Burkholder
439be3f790
Ficl wants _setjmp and _longjmp. No need for weak symbols either.
2002-07-07 18:04:45 +00:00
Robert Drehmel
897ad22f04
Fix syntax error which occurred when LIBC_SCCS was defined.
2002-07-07 11:28:28 +00:00
Chris Costello
05ddd41b23
Move appropriate information out of DESCRIPTION' and into
SECURITY
...
CONSIDERATIONS'.
Sponsored by: DARPA, NAI Labs
2002-07-03 15:31:47 +00:00
Mark Murray
ccece3d626
Whitespace diffs only; this brings this file into the same whitespace
...
convention as src/lib/csu/*/crt1.c.
This will make the follow up diffs easier to see and extract.
2002-07-03 14:42:39 +00:00
Chris Costello
00c3b17e1e
Correct a call to fcntl(F_SETFD) to use FD_CLOEXEC' instead of
1'.
2002-07-03 08:15:55 +00:00
Chris Costello
32f9f49908
Add a SECURITY CONSIDERATIONS example: make note that access to open
...
file descriptors does not change upon dropping privilege, and include
a likely case of `setuid(non_superuser); exec(...);'.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-03 08:13:25 +00:00
Jonathan Mini
16f33a4885
Fix off-by-one error.
...
PR: misc/40104
Submitted by: Neal Fachan <neal@isilon.com>
MFC after: 3 days
2002-07-03 06:28:04 +00:00
Ruslan Ermilov
93c163325e
No need to explicitly set NOMAN here.
...
Reviewed by: jmallett
2002-07-03 06:25:28 +00:00
Mark Peek
3aaa96958d
Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).
2002-07-02 21:05:08 +00:00
Hajimu UMEMOTO
b0f06def52
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
...
scope identifier).
MFC after: 3 weeks
2002-07-02 11:11:17 +00:00
Hajimu UMEMOTO
f8fa093e82
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
...
scope identifier).
Approved by: des
MFC after: 3 weeks
2002-07-02 11:09:02 +00:00
Hajimu UMEMOTO
15e4dafc91
Make NI_WITHSCOPEID a default (always on), to synchronize
...
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
2002-07-02 11:05:31 +00:00
Daniel Eischen
c3d580c9a1
Fix a couple of minor nits that prevented this from compiling.
...
Pointed out by: julian
2002-07-02 01:26:16 +00:00
Juli Mallett
a7a88ab828
DEBUG is a knob that means something else in FreeBSD, use LIBUFS_DEBUG to
...
turn on tracing.
2002-07-01 18:20:48 +00:00
Juli Mallett
585e540203
In getino, have our DEBUG message in the unhandled case mention that it
...
does not know what sort of UFS filesystem this is.
Add some DEBUG(NULL)'s to function entry points.
2002-07-01 18:19:20 +00:00
Chris Costello
de19436f24
Rename CAVEAT' to
SECURITY CONSIDERATIONS' and move it up to
...
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-01 14:41:05 +00:00
Brian Somers
27cc91fbf8
Remove trailing whitespace
2002-07-01 11:19:40 +00:00
Juli Mallett
20938dbf84
Add libufs, a library for dealing with UFS filesystems from userland to
...
the build. It is here to compartmentalise functionality currently duplicated
in many notable programs in the base system. It currently handles block
reads and writes, as well as reading and writing of the filesystem superblock,
and the reading/lookup of inode data. It supports both UFS and UFS2. I
will be maintaining it, and porting programs to use it, however for now, it
is simply being built as part of world.
2002-07-01 01:45:03 +00:00
Christian Weisgerber
958a88fbf7
LP64 fix: don't cast pointer to int
...
Reviewed by: gallatin, ticso
2002-06-30 23:36:21 +00:00
Julian Elischer
58551c0393
Don't even read in the thread if it is a zombie process.
2002-06-30 20:13:53 +00:00
Julian Elischer
bff4151c28
grow a brain and do this right.
2002-06-30 17:06:46 +00:00
Julian Elischer
6143c38376
Don't follow non existant thread pointers (e.g. for zombies)
2002-06-30 08:11:30 +00:00
David E. O'Brien
3b7de54d68
Use FBSDID
2002-06-30 05:36:49 +00:00
Julian Elischer
e602ba25fd
Part 1 of KSE-III
...
The ability to schedule multiple threads per process
(one one cpu) by making ALL system calls optionally asynchronous.
to come: ia64 and power-pc patches, patches for gdb, test program (in tools)
Reviewed by: Almost everyone who counts
(at various times, peter, jhb, matt, alfred, mini, bernd,
and a cast of thousands)
NOTE: this is still Beta code, and contains lots of debugging stuff.
expect slight instability in signals..
2002-06-29 17:26:22 +00:00
Peter Wemm
0c079d8c6f
To avoid anybody else getting caught out, these two files are really
...
in /sys/boot/common and are actually used there.
2002-06-29 09:21:14 +00:00
Peter Wemm
08db6efa75
Update from NetBSD 1.3 -> 1.6. Most notable, rev 1.6:
...
"Make in_cksum work on little endian machines"
This would explain a few things. :-)
2002-06-29 09:00:47 +00:00
David E. O'Brien
2d39517f33
Use __FBSDID.
2002-06-29 03:23:51 +00:00
David E. O'Brien
45d767fbbe
Add frexp(3).
...
Obtained from: OpenBSD
2002-06-29 03:23:18 +00:00
Andrey A. Chernov
cc1b8dcb1c
Add additional field 'overwrite' to login_vars. It mainly needed to handle
...
"term" according to manpage, i.e. not overwrite it, if already present in
environment.
2002-06-28 14:45:30 +00:00
Daniel Eischen
88127f1a62
Make sigpending and sigsuspend account for signals that are pending on
...
the process as well as pending on the current thread.
Reported by: Andrew MacIntyre <andymac@bullseye.apana.org.au>
2002-06-28 13:28:41 +00:00