Dag-Erling Smørgrav
99260419d6
Install more man pages - I thought I'd committed this ages ago...
2002-07-23 17:59:46 +00:00
Ruslan Ermilov
61a875d706
Don't forget to recalculate the IP checksum of the original
...
IP datagram embedded into ICMP error message.
Spotted by: tcpdump 3.7.1 (-vvv)
MFC after: 3 days
2002-07-23 00:16:19 +00:00
Dag-Erling Smørgrav
190c185e22
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
...
PR: misc/40399
MFC after: 3 days
2002-07-22 16:11:39 +00:00
Peter Wemm
7657553c76
Add an ia64 atomic lock primitive for libc_r. This is mostly for
...
completeness and doesn't get us a working libc_r there because libc_r
uses setjmp() and setjmp() cannot be used for context switches on ia64
as-is (or sparc64). Rather than making setjmp/longjmp behave like
the *context() calls, it would be far better to make libc_r use *context()
directly which is what they are for.
Obtained from: marcel
2002-07-20 19:22:10 +00:00
Peter Wemm
21a7fd75c3
Reimplement malloc/free debugging that includes the offending file:line
...
info. This turned out to be rather useful on ia64 for tracking down
malloc/free problems.
Detect duplicate free()'s - otherwise these show up as a guard1 failure
and it looks like corruption instead of something simple like a second
free() where there shouldn't be.
Deal with libz using libc headers and not seeing the malloc/free stuff that
we provide in libstand. Do similar nastiness to what is done for bzlib.
Tested on: i386, ia64 (compile, run)
2002-07-20 04:18:20 +00:00
Peter Wemm
a4e7b0c88f
Add __printflike() to printf() and sprintf() prototypes. -ffreestanding
...
turns off gcc's builtin attributes for these functions and as a result
-Wformat does no checking. (argh)
2002-07-20 03:55:06 +00:00
Ruslan Ermilov
0b87f79976
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
Luigi Rizzo
90780c4b05
Move IPFW2 definition before including ip_fw.h
...
Make indentation of new parts consistent with the style used for this file.
2002-07-18 05:18:41 +00:00
Mike Heffner
4a59c3ab55
Update glob(3) to add all the POSIX required options, specifically:
...
- add GLOB_NOMATCH return value and use it when we don't get a match
- rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1
in some places
- add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility
section
Suggestions/advice on correct usage of POSIX defines: wollman
2002-07-17 04:58:09 +00:00
Kirk McKusick
fb36a3d847
Change utimes to set the file creation time (for filesystems that
...
support creation times such as UFS2) to the value of the
modification time if the value of the modification time is older
than the current creation time. See utimes(2) for further details.
Sponsored by: DARPA & NAI Labs.
2002-07-17 02:03:19 +00:00
Garrett Wollman
020d4fa6de
Don't ask me how I consistently turned struct statvfs into struct vfsconf....
2002-07-16 20:40:12 +00:00
Mark Murray
828191256b
The main reason for this is to reduce diffs between all the crt1.c's.
...
Assembler macros are tidied up and made as similar as sanely possible.
The macros are translated into C (__inline static) functions for lint.
Declaration orders are made the same.
Declarations are all ISOfied and tidied up.
Comment contents have gratuitous diffs removed.
The net result is a bunch of crt1.c's that are 90% the same.
It may be possible to now encapsulate the differences in one
MD header, and have only one MI crt1.c file (although the macros
to do this may be ugly).
Helpful comments by: obrien, bde
Alpha tested by: des
i386-elf tested by: markm
2002-07-16 12:28:50 +00:00
Garrett Wollman
252724764d
Assume that my bug report against 1003.1-2001 will be resolved my way,
...
and make 64-bit architectures use the LP64_OFF64 environment instead
of the LPBIG_OFFBIG one.
2002-07-15 22:43:03 +00:00
Garrett Wollman
603a6e79d8
Support POSIX/SUS ``programming environment'' mistake in confstr().
2002-07-15 22:21:33 +00:00
Garrett Wollman
97ec79a175
All of the things that confstr() returns are compile-time constants.
...
It's silly to call sysctl() to get the value of _PATH_STDPATH from
<paths.h> when we can just use it directly. This greatly simplifies
the implementation. (This is also part of my grand scheme to get
rid of sysctl's `user' category, which should never have been created.)
Use strlcpy() instead of strncpy() as it has the exact semantics we want.
2002-07-15 21:51:19 +00:00
Giorgos Keramidas
1f2cec106f
The .Fn function.
2002-07-15 20:59:12 +00:00
Giorgos Keramidas
ab7e1a5712
The .Fn function
2002-07-15 20:50:16 +00:00
Garrett Wollman
45d2fcfaae
Don't bother asking the kernel about _SC_FSYNC; it's not optional.
2002-07-15 20:42:05 +00:00
Giorgos Keramidas
68a8e8a9f3
Add a missing 'function' word.
...
Use .Vt to mark up `struct stat' when it is a variable type.
2002-07-15 20:07:09 +00:00
Hajimu UMEMOTO
8071d8d70d
Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()
...
and if_freenameindex().
Obtained from: KAME
MFC after: 2 weeks
2002-07-15 19:58:56 +00:00
Giorgos Keramidas
e812f24f6d
The .Fn function
2002-07-15 19:56:24 +00:00
Garrett Wollman
c98a4bf3fb
Don't claim to fully implement C99 in the STANDARDS section and then disclaim
...
compliance in the BUGS section immediately below.
2002-07-15 19:46:06 +00:00
Garrett Wollman
647e4efd97
Note that fseeko() and ftello() are standard in 1003.1-2001.
...
(Prefer the more-encompassing POSIX standard to SUSv2.)
2002-07-15 19:42:25 +00:00
Giorgos Keramidas
ce9fa5fcb2
Fix whitespace in .Bd -literal display of S_IXXX constants.
...
Noticed by: jmallett
2002-07-15 08:58:16 +00:00
Alfred Perlstein
988553e96a
Fix "rpcinfo -m" when talking to other implementations of rpcbind.
...
Submitted by: mbr (NetBSD PR#15802)
2002-07-14 23:38:37 +00:00
Alfred Perlstein
886ee6f6a5
clnt_vc_create() has const scalar arguments that wind up being modified,
...
fix it (make them non-const) and update the associated documentation.
Submitted by: mbr
2002-07-14 23:35:04 +00:00
Alfred Perlstein
c549fd466b
Cast function args to silence warning.
...
Submitted by: mbr
2002-07-14 23:20:08 +00:00
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