des
bb36960b9a
Increment the loop counter.
...
PR: bin/29218
Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
2001-11-10 17:36:58 +00:00
ru
77df879d01
- Put missing prototype for rcmd() in <unistd.h>.
...
- Clean up the manpage.
- style(9) rcmdsh.c.
Committed from: BSDCon/EU 2k+1 terminal room
2001-11-09 15:19:25 +00:00
dcs
652ecfdbf3
The algorithm that computes the tables used in the BM search algorithm sometimes
...
access an array beyond it's length. This only happens in the last iteration of
a loop, and the value fetched is not used then, so the bug is a relatively
innocent one. Fix this by not fetching any value on the last iteration of said
loop.
Submitted by: MKI <mki@mozone.net>
MFC after: 1 week
2001-11-09 10:17:44 +00:00
peter
b77568ce81
Note that the manpage is incorrect about the vector argument.
2001-11-09 01:01:50 +00:00
peter
a917feacce
kern.ps_arg_max_cache is a long, not an int. I believe this is half of
...
what broke ps on ia64. It probably also broke on alpha, but the fallback
method of using lseek/read on /proc/*/mem to read ps_strings seems to
work there. It doesn't on ia64 yet.
2001-11-08 00:23:06 +00:00
obrien
f1605e3295
Fix vendor ID's.
2001-11-07 22:12:52 +00:00
obrien
d1bf0c4841
rcsid[]->__FBSDID
2001-11-07 19:55:16 +00:00
fenner
a53b61e772
Don't ignore unknown characters. The previous code treated a line like:
...
hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns
exactly the same as:
hosts: files dns
Recover from parse errors by looking for the end of a line; this
allows entries without errors to still be parsed even if there is
an erroneous entry earlier in the file.
2001-11-07 00:05:26 +00:00
jhb
76b3e8adcb
- Change the f_isdir field of struct file to be a flags field and two
...
new flags: F_ROOTDIR and F_RR (Rock Ridge present).
- Cache the SUSP LEN_SKP parameter in struct file as well.
- If we open() '/', then force a read of the directory's contents so we
can examine the directory record of '.' to see if Rock Ridge is present.
- If Rock Ridge extensions are present, lookup Rock Ridge names in
readdir().
2001-11-06 22:31:10 +00:00
jhb
e2cdd54d9a
- Add a simple SUSP parser.
...
- Use the SUSP parser to detect Rock Ridge (RRIP) extensions and to look
up alternate names when opening files.
2001-11-06 19:59:19 +00:00
jhb
a2723fd68c
Switch to using ANSI function declarations and add missing function
...
prototypes. I'm tired of getting stupid bugs from changing function
parameters and not getting warnings from the compiler when I goof it up.
2001-11-06 17:13:05 +00:00
dwmalone
c54bcb1109
Add a note explaining why CLOCKS_PER_SEC isn't 1000000.
...
While I'm here, "of a second" does not belong to CLOCKS_PER_SEC.
PR: 30297
Submitted by: Bernd Luevelsmeyer <bdluevel@heitec.net>
2001-11-05 21:30:43 +00:00
jhb
815c903d62
- There is no such thing as a socket structure. sockets are integers.
...
I'm assuming that the comment was regarding socket address structures, so
correct the comment about pre-zero'ing socket structures to recommend
pre-zero'ing socket address structures.
- Fix some minor grammar nits.
- This isn't directly submitted by the PR below but is related to it and was
inspired by it.
PR: 31704
2001-11-05 18:05:56 +00:00
dwmalone
f8a5b8b8e0
gamma(x) actually returns \log(|\Gamma(x)|), so correct the man
...
page and add an historical note explaining this. This patch is
based on Stephen's.
We still need someone to implement tgamma.
PR: 28972, 31764
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
2001-11-05 10:10:33 +00:00
murray
14284a1c0f
Describe handling of NULLs passed to pthread_setcancelstate().
...
PR: docs/31745
Submitted by: Andrew <andrew@ugh.net.au>
2001-11-05 08:21:32 +00:00
dd
190843c1b8
Document ENETDOWN.
...
PR: 31436
Submitted by: Milon Papezik <milon.papezik@oskarmobil.cz>
2001-11-05 00:44:38 +00:00
dd
a52b2530e8
malloc and calloc do not free memory.
...
PR: 31365
Submitted by: SUZUKI Koichi <koich@cac.co.jp>
2001-11-05 00:39:27 +00:00
dd
c5f502b79b
Mark up NULL in .Dv.
...
PR: 31747
Submitted by: <andrew@ugh.net.au>
2001-11-04 23:13:03 +00:00
peter
46661c1f9e
Make strtod.c work on Alpha as well. strtod.c has got locale support,
...
the netbsd_strtod.c file we have does not. More still should be done
here, but this works happily on my Alpha. I have not (yet?) changed
the Makefile.inc to use this.
2001-11-04 21:30:12 +00:00
peter
667c53ff05
Slightly closer to netbsd_strtod.c:
...
s/IEEE_8087/IEEE_LITTLE_ENDIAN/
s/IEEE_MC68k/IEEE_BIG_ENDIAN/
2001-11-04 18:04:00 +00:00
dfr
77a7f36beb
Implement fpsetmask() and fpgetmask().
2001-11-03 15:52:18 +00:00
brian
876314d445
cmott@scientech.com -> cm@linktel.net
...
Requested by: Charles Mott <cmott@scientech.com>
2001-11-03 11:34:09 +00:00
peter
6193994718
Do not fail doing rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a if the
...
intermediate directories dont exist. (eg: when building standalone
includes, using the beforeinstall target in src/lib)
2001-11-03 06:33:08 +00:00
peter
af02d0d48f
Put in an attempt at stack trace/unwind records.
2001-11-03 06:31:27 +00:00
peter
f5127cdcc8
Do not ``build'' (ie remove, and put in stub libraries) for libresolv
...
and/or libgnumalloc on anything but i386. The other platforms
post-date this mistake.
Do not build libc_r for ia64. There are some fundamental issues that
need to be resolved (ie: it cannot use setjmp/longjmp for thread
switching, which isn't likely to be fixed soon. libc_r has to be
reimplemented using something like makecontext()/swapcontext() etc
in order to work in ia64.)
2001-11-03 06:30:15 +00:00
peter
215f4b41f8
Dont fail if ${DESTDIR}${LIBDIR}/ or any of its components dont
...
exist for the rm -f of libresolv.a
2001-11-03 06:26:15 +00:00
peter
7e05941691
Dont fail if the intermediate directories in ${DESTDIR}/usr/lib/compat/*
...
dont exist. IMHO, this is kinda silly.
2001-11-03 06:24:23 +00:00
phk
43f68f8842
phkmalloc->evilchecks++;
...
If zero bytes are allocated, return pointer to the middle of page-zero
(which is protected) so that the program will crash if it dereferences
this illgotten pointer.
Inspired & Urged by: Theo de Raadt <deraadt@cvs.openbsd.org>
2001-11-02 11:32:28 +00:00
phk
d88ecc48a5
Add notice about early use from malloc.c forbidding malloc use from
...
this function.
2001-11-02 11:30:42 +00:00
markm
6187976edf
Add a long-overdue nail to the deprecated /dev/urandom interface
...
by asking some things that need unpredictable numbers to read
/dev/random instead.
2001-10-30 21:26:50 +00:00
peter
e6400f83f7
Mostly cosmetic. Use indentation that is reasonably close to other
...
ia64 *.S files in our tree (eg: locore.s). Put the rest of the args
in the .section lines.
Reviewed by: dfr
2001-10-29 10:18:58 +00:00
peter
43153baeec
Update for the new toolchain. ld doesn't provide _GLOBAL_OFFSET_TABLE_
...
in 2.11.2, so use a relocatable method of calculating gp.
Reviewed by: dfr
2001-10-29 10:14:51 +00:00
mike
c435f30d71
Make the output from assert() look more like the example in the C99
...
standard.
Requested by: bde
2001-10-29 07:07:25 +00:00
dillon
cdd5ebd3b2
Add time_to_int(), int_to_time(), time_to_long(), long_to_time().
2001-10-28 20:13:16 +00:00
dillon
5b521f3c4f
Add routines to convert time_t to/from fixed-bit fields. These routines
...
serve two purposes: (1) so we can maintain backwards compatibility with
protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or
assume sizeof(time_t) == sizeof(int), or make other similar assumptions.
(2) To tag such routines (by the presence of these calls) for future
cleanup/extension work.
The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is),
is defined specifically to implement temporal locality to properly set the
msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality
code has not been implemented yet (and doesn't need to be for a while),
but that is the intent. This will allow us to maintain backwards protocol
compatibility past 2038.
These routines are intended to be platform and time_t agnostic.
MFC after: 1 week
2001-10-28 19:54:49 +00:00
obrien
eb6a23a09f
sparc64 verions of the crt initialization and finalization files required
...
by the ELF ABI.
2001-10-28 00:20:34 +00:00
mike
186071821a
Only provide function information in compile environments that support
...
the C99 variable __func__ and never for C++. Provide a more meaningful
example in the assert(3) manual.
Reviewed by: asmodai, bde
2001-10-27 20:11:10 +00:00
mike
1521c8f921
Restore K&R prototype. Fix other style bugs.
...
Reviewed by: asmodai, bde
2001-10-27 19:37:20 +00:00
peter
c014a2100f
Add missing crti.S and crtn.S files. I have tested these with -static
...
linking only. They may require some gp relative tweaks for dynamic use.
2001-10-27 10:10:45 +00:00
obrien
e299f0598d
Sync with other platforms.
2001-10-27 08:32:07 +00:00
obrien
ab164bcc75
minor style updating
2001-10-27 08:30:36 +00:00
obrien
679fe89052
Update for reality and syncing with other FreeBSD platforms.
2001-10-27 08:29:03 +00:00
obrien
401cae0ddc
Feh, it helps to include a file other than yourself... wonder how
...
GCC cpp liked that.
Properly include the branding info.
2001-10-27 08:25:32 +00:00
peter
5a0fafd56a
Explicitly use int32_t for on-disk records for pw_change and pw_expire,
...
since that is what we use now and this insulates us from any time_t
tweaks here. We can define a record format that uses 64 bit times if/when
we need to.
2001-10-27 02:13:41 +00:00
peter
3f40eb9fd5
Remove the -I../libc/${MACHINE_ARCH} that was there solely for
...
the #include "DEFS.h" that was only used on i386 (which has been fixed).
2001-10-26 21:20:23 +00:00
peter
14e9bfa8fe
Make libc_r check the kern.usrstack sysctl instead of using internal
...
kernel #defines to figure out where the stack is located. This stops
libc_r from exploding when the kernel is compiled with a different
KVM size. IMHO this is all kinda bogus, it would be better to just
check %esp and work from that.
2001-10-26 21:19:22 +00:00
ru
de855cd626
Style: sort __sys_foo() prototypes, tabs -> spaces, etc.
2001-10-26 18:45:02 +00:00
ru
19c3a4faee
Removed:
...
- uthread_signal.c; libc_r does not wrap signal() since 1998/04/29.
- uthread_attr_setprio.c; it was never connected to the build, and
pthread_attr_setprio() does not exist in POSIX.
- uthread_sigblock.c and uthread_sigsetmask.c; these were no-ops
bloating libc_r's space.
pthread_private.h:
- Removed prototypes of non-syscalls: send().
- Removed prototypes of unused syscalls: sigpending(), sigsuspend(),
and select().
- Fixed prototype of fork().
- MFS: Fixed prototypes of <sys/socket.h> syscalls.
Reviewed by: deischen
Approved by: deischen, jasone
2001-10-26 17:46:36 +00:00
ru
5cf7b5f41f
Remove the internal implementation details of wrapping syscalls,
...
which do not match the reality anyway.
Approved by: deischen, bde
2001-10-26 17:38:20 +00:00
dfr
2868a01759
Compensate for the way that _setjmp aligns the start of jmp_buf.
2001-10-26 08:26:45 +00:00
obrien
83e21bd3fa
Fix nit in copyright.
2001-10-26 06:45:10 +00:00
obrien
481222884e
Use the new machine-independent versions of crtbegin and crtend
...
from the "common" directory.
2001-10-26 06:39:54 +00:00
jake
e655c7bdca
Minimal libc for sparc64.
...
Reviewed by: obrien
2001-10-26 05:40:07 +00:00
ache
7f305ae939
In > LONG_MAX test use sseek return value and not _offset which can be not
...
active.
2001-10-25 22:56:04 +00:00
sobomax
064436f6e8
Don't put an extra space after password prompts, because it violates POLA,
...
makes FreeBSD inconsistent with previous releases and "other unices" as well
as with some internal password-asking services (e.g. ftp) within the same
release.
2001-10-25 15:51:50 +00:00
dfr
36e45996ff
Implement va->pa translation for kernel virtual addresses. This is
...
untested - it only seems to be used for crashdumps.
2001-10-25 09:08:21 +00:00
archie
8d7368cdb8
Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token
...
value could be returned when the debug level was non-zero.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days
2001-10-25 04:02:25 +00:00
peter
f62986b79a
Change #include "DEFS.h" to <machine/asm.h>.
2001-10-25 01:30:54 +00:00
peter
314a1d3362
De-orbit DEFS.h - the other arches do not use it, and it got replaced
...
with <machine/asm.h>.
Reviewed by: bde
2001-10-24 20:29:14 +00:00
asmodai
728aea2684
Add __FBSDID.
...
Change __assert() function to print failing function name.
This makes us C99 conforming.
2001-10-24 18:12:43 +00:00
asmodai
578c2da5ee
Add __FBSDID.
...
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.
2001-10-24 18:12:18 +00:00
ache
d21dd859f6
Help to recover from bad seek (i.e. negative or too big) happens beyond
...
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
2001-10-24 17:25:49 +00:00
ache
2424501326
Back out read buffer invalidating via __SMOD.
...
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
2001-10-23 23:52:11 +00:00
ache
537a689a7b
Change comment explaining another usage of __SMOD
2001-10-23 23:05:15 +00:00
ache
76a4ffc8e5
Disallow fseek() optimization in internal read buffer, if pointer is moved by
...
seek. It means that beginning of read buffer becomes not the same as current
file position.
2001-10-23 22:48:00 +00:00
dfr
f907f56cde
Partially port kvm to ia64 - virtual to physical translation is incomplete.
2001-10-23 11:05:35 +00:00
imp
af77ecc675
Allow users to specify a command to use as remote command instead of
...
using rcmd directly. This has been in my tree for a long time, but we
may need to sync with OpenBSD before MFC.
Obtained from: openbsd
PR: 15830
MFC after: 2 months
2001-10-23 06:22:15 +00:00
dd
ceeb7e9e8e
Refer to chflags(2) instead of chflags(1) (since we're a section 2
...
manual page), fix capitalization, and remove chflags reference from
SEE ALSO since the only time it's referenced is with an .Xr, anyway.
Submitted by: bde
2001-10-23 00:54:58 +00:00
peter
f180e2941a
Fix WAW dependency. p6 is written in the syscall epilogue.
2001-10-22 09:17:14 +00:00
dfr
d3087826b3
Fix a few more dependancy violations.
2001-10-22 08:48:11 +00:00
deischen
359955a195
In the words of the submitter:
...
In libc_r, if _FDLOCKS_ENABLED is not defined, there is no guarantee
in many of the sycall wrappers that _thread_fd_table[fd] is
initialized. This causes problems for programs that pass in file
descriptors and execve() another program; when the exec'ed program
tries to do an fcntl() or other syscall on the passed-in fd, it fails.
Add calls to initialize the FD table entry for _thread_fd_lock and
_thread_fd_lock_debug.
Submitted by: Peter S. Housel <housel@acm.org>
2001-10-21 18:23:50 +00:00
dfr
0868d006f6
Implement setjmp, longjmp, sigsetjmp and siglongjmp.
2001-10-20 15:19:08 +00:00
dfr
368f88c747
Add __divdf3(), __divsf3() and __infinity[].
...
Obtained from: Intel (for the divide code)
2001-10-20 15:17:31 +00:00
ru
b28c3d865f
mdoc(7) police: join OS version with the corresponding macro.
2001-10-19 14:44:13 +00:00
ru
77fafc4065
Just use RSYSCALL.
2001-10-19 13:32:24 +00:00
ru
ff3f213cbf
signanosleep(2) hasn't existed since 1998.
2001-10-19 13:01:57 +00:00
des
38d04ef419
Add NO_WERROR so the build won't die because of discarded qualifiers
2001-10-19 10:08:38 +00:00
des
f59dae6318
Back out part of previous commit which was gcc-centric
2001-10-19 10:08:05 +00:00
alfred
1b131bca2f
s/kernal/kernel
2001-10-19 07:52:11 +00:00
markm
3a691e0043
Add library exposed by KDE's use if this module.
2001-10-18 20:05:20 +00:00
des
f8774d9490
Tons of type, style and warning fixes that have been rotting in my tree for
...
ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were
willing to do something (-fno-builtin) about it.
2001-10-18 08:29:26 +00:00
jlemon
f8c01ba3e2
Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index.
...
If the syscall fails, fall back on the old method as a compatability
measure.
2001-10-17 20:08:15 +00:00
alfred
83a95ab00e
Fix reference to aio_read, should be aio_write
2001-10-16 00:49:19 +00:00
robert
aaf5536e2d
Make this Makefile suitable for sparc64.
2001-10-15 14:27:37 +00:00
robert
8c33356c2c
Define the types iaddr_t and saddr_t for sparc64.
2001-10-15 13:50:47 +00:00
dd
da653dc4fc
Match parenthesis and don't give names to return values.
...
PR: 31214
2001-10-15 13:34:43 +00:00
peter
e63461ebd8
Add EFI GPT (238, 0xEE) and EFI System Parition (239, 0xEF)
2001-10-15 07:25:29 +00:00
bde
3cf4ebab35
Fixed style bugs in previous commit.
2001-10-15 04:29:06 +00:00
dd
4ac82088dc
link(2) may fail with EPERM if name1 is immutable or append-only.
...
PR: 31025
Submitted by: Tim Singletary <tsingle@vetinsite.com>
2001-10-14 22:40:19 +00:00
dfr
6a3c586daf
Make this compile on ia64.
2001-10-14 13:45:33 +00:00
dillon
01da670d8e
Add warning about zeroing-out the socket structure before populating it.
2001-10-13 17:20:51 +00:00
bde
4784c39e63
Removed most of the zombie man pages in libm. All relevant parts have
...
been copied to msun/man (most of them long ago without proper history).
2001-10-13 14:22:08 +00:00
bde
3097d9a80a
Fixed missing quoting of >= (in ceil.3) and <= (in floor.3) by reverting to
...
describing these operators in English. This completes the fix in rev.1.3
(rev.1.2 got this wrong by describing wrong operators in English).
Fixed bitrot and improved English in the DESCRIPTION section.
2001-10-13 13:57:32 +00:00
bde
6ac346584a
Fixed missing quoting of [-1, +1].
...
Submitted by: phantom
2001-10-13 12:29:25 +00:00
bde
de0fc56b84
Use ".Lb libm" where it will have an effect (not just in the zombie man
...
pages in libm).
Submitted by: phantom
2001-10-13 12:23:23 +00:00
bde
73b394228c
Backed out "Compensate for header dethreading [mistakes]" mistakes in
...
alpha files too.
2001-10-13 04:38:46 +00:00
mike
50430063cd
Note that strncmp() will not compare characters after a NUL character.
...
Add a missing word. Bump document date.
Inspired by: IEEE Std 1003.1-200x (Draft 7)
MFC after: 3 days
2001-10-11 17:02:44 +00:00
mike
988a5d4019
Clarify that strnstr() will stop searching after in encounters a NUL
...
character. Bump document date. Add a missing comma.
2001-10-11 15:49:06 +00:00
ru
39c4ae6616
- Bump document date for eaccess(2) addition.
...
- Mention ``eaccess'' in the NAME section.
- Use intro(2) terminology.
- Markup fixes.
Reviewed by: rwatson
2001-10-11 15:27:53 +00:00
dfr
f075c7df77
Change to track the new calling convention for execve. This version only
...
needs one line of assembler to initialise gp.
2001-10-11 12:33:05 +00:00
yar
c01da464b6
Fix the phrase about "both files", which must be left
...
from login(3). This page, logwtmp(3), speaks of only
one file -- wtmp(5).
MFC after: 1 week
2001-10-11 11:02:50 +00:00
mr
188e03f8f9
Fix SysV Semaphore Handling.
...
Updated by peter following KSE and Giant pushdown.
I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2001-10-11 08:15:14 +00:00
obrien
9ef67c1f0e
Shared libraries from 4.4-FreeBSD needed for proper binary compatibility.
2001-10-10 20:33:20 +00:00
bde
229c3ac7c3
Compensate for "Compensate for header dethreading" by backing it out.
2001-10-10 17:48:44 +00:00
ru
168d2047b1
getnetbyaddr() should be serviced by the "networks" database.
2001-10-10 12:49:53 +00:00
dfr
a9c4a40889
Adjust so that we don't use relocations which can't exist in a shared
...
library.
2001-10-10 10:35:01 +00:00
dfr
4338eb2498
Shorter versions of the byte swapping code.
2001-10-10 10:34:08 +00:00
jkh
3ecc099602
Check to see if the devfs MIB exists and return 1 if it exists rather
...
than making device node(s).
Submitted by: Hiroo ONO <hiroo@oikumene.gcd.org>
2001-10-10 07:46:04 +00:00
ache
fc83bdab66
Implement strcasestr() which many others (f.e. Linux) already have.
2001-10-10 02:17:35 +00:00
mike
3af7ef2c4b
Document the fact that the strnstr(3) function is not portable.
...
Requested by: brian, gad
2001-10-09 17:22:02 +00:00
mike
9a738c4dbe
Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendor
...
id cruft.
Submitted by: bde
2001-10-09 16:40:04 +00:00
mike
9a27a4f0fe
Add a new libc function, strnstr(3), which allows one to limit the
...
number of characters that are searched. This is especially useful
with file operations and non-NUL terminated strings.
Silence from: -audit, -hackers
MFC after: 5 days
2001-10-09 01:29:56 +00:00
dfr
ff9e5f79f5
Port to ia64. Actually, just do like the alpha.
2001-10-08 08:29:52 +00:00
deischen
4d56211ce3
Limit maximum poll interval to 60 seconds. This prevents an overflow
...
from occurring when converting from a timeval/timespec to a timeout in
milliseconds.
Submitted by: dwmalone
2001-10-07 02:34:43 +00:00
dfr
bfef499fd2
Make this work on ia64. I have no idea why it works on alpha - it
...
shouldn't.
2001-10-06 15:58:54 +00:00
dfr
32880df50a
Fix a load of dependancy violations.
2001-10-05 18:52:42 +00:00
wpaul
6c9e575b19
Add compatibility functions for the AF_LOCAL RPC transport stuff
...
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
2001-10-04 21:03:17 +00:00
dwmalone
86cf053ae0
Hopefully improve control message passing over Unix domain sockets.
...
1) Allow the sending of more than one control message at a time
over a unix domain socket. This should cover the PR 29499.
2) This requires that unp_{ex,in}ternalize and unp_scan understand
mbufs with more than one control message at a time.
3) Internalize and externalize used to work on the mbuf in-place.
This made life quite complicated and the code for sizeof(int) <
sizeof(file *) could end up doing the wrong thing. The patch always
create a new mbuf/cluster now. This resulted in the change of the
prototype for the domain externalise function.
4) You can now send SCM_TIMESTAMP messages.
5) Always use CMSG_DATA(cm) to determine the start where the data
in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1)
in some places, which gives the wrong alignment on the alpha.
(NetBSD made this fix some time ago).
This results in an ABI change for discriptor passing and creds
passing on the alpha. (Probably on the IA64 and Spare ports too).
6) Fix userland programs to use CMSG_* macros too.
7) Be more careful about freeing mbufs containing (file *)s.
This is made possible by the prototype change of externalise.
PR: 29499
MFC after: 6 weeks
2001-10-04 13:11:48 +00:00
mike
aebf871de5
Include <string.h> to prototype strcpy(3). While I'm here, make use
...
of the new RCSID macros.
MFC after: 3 days
2001-10-04 04:42:03 +00:00
bde
fef75fe036
Fixed various type errors in synopsis.
2001-10-03 16:53:59 +00:00
bde
8ef25d0d0b
Fixed bitrot in synopsis. The TI-RPC changes gave mounds of it, mainly
...
inconsistently weird const poisoning in the man pages relative to the
headers.
2001-10-03 16:47:56 +00:00
bde
6713900c98
Fixed spelling of rpow in rpow's prototype.
2001-10-03 16:33:00 +00:00
bde
9097abc647
Fixed missing `const' in synopsis.
2001-10-03 16:29:21 +00:00
bde
52c081280b
Fixed return type in synopsis.
2001-10-03 16:25:08 +00:00
bde
a98e38f50d
Fixed bitrot in synopsis. The change of the color type from byte to u_long
...
had not reached here.
2001-10-03 15:20:03 +00:00
alfred
036a7d2e16
Avoid getting stuck in system(3) when the internal call to wait4()
...
is interrupted by saving the pid.
The old code would assign the return value to pid which would trash
it, to fix the problem save a copy of the pid to be used as the
paramter to wait4().
Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org>
2001-10-03 11:01:39 +00:00
bde
1504179848
Don't install manpage links for the nonexistent functions exp2(),
...
exp2f(), log2() and log2f().
2001-10-03 06:30:11 +00:00
bde
44d201ca6b
Removed .Nm's for the nonexistent functions exp2() and exp2f().
2001-10-03 06:25:55 +00:00
bde
e94a83a247
Made this header self-sufficient.
...
Fully parenthesized a macro definition.
2001-10-03 05:25:07 +00:00
bde
fb673f2a68
Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet.
...
The corresponding bugs in <wchar.h> have no effect because the function
prototypes there don't have args so the __restrict "keyword" is
misinterpreted as an arg.
2001-10-03 05:19:47 +00:00
bde
eadd87b6ca
Fixed wrong arg type in synopsis.
2001-10-03 03:57:42 +00:00
bde
3f1e09f08e
Fixed bitrot in synopsis. The change of the return type of
...
Set_Boot_Blocks() from void to int had not reached here. Callers
still don't check the new return value.
2001-10-03 03:49:48 +00:00
bde
ef9cbcca28
Fixed misspelled arg type in synopsis.
2001-10-03 01:45:37 +00:00
bde
341e54f418
Fixed missing include in synopsis.
2001-10-03 00:51:30 +00:00
ume
b348544a5d
- cope with sa_len < sizeof(struct sockaddr).
...
From: Patrik Lindergren <patrik@datacom.nu>
- delint (pointer cast issue). from netbsd-current
Obtained from: KAME
MFC after: 1 week
2001-10-02 13:51:29 +00:00
obrien
90414d9ad1
Clean this up after the NetBSD syncing.
2001-10-01 23:10:48 +00:00
obrien
8b3bce34f5
Fix ID's after a total boch CVS merge due to multiple people making
...
commits to these files.
As I sing to CVS:
Have I told you lately that I hate your guts? Have I told you
all SCM's are above you? You fill my heart with pain, take away
all my merging joy, grow my troubles that's what you do."
2001-10-01 23:00:29 +00:00
obrien
0c753dc50e
Our histedit.h lives in src/include.
2001-10-01 21:08:03 +00:00
ru
623da62a5a
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
ru
7045e5a1bc
Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
...
Fixed some more.
2001-10-01 15:53:07 +00:00
ru
2091dd93be
mdoc(7) police: don't split author names in the AUTHORS section.
2001-10-01 13:50:03 +00:00
ru
02dbca2256
mdoc(7) police: markup nits.
2001-10-01 12:52:24 +00:00
ru
27a539ba89
mdoc(7) police: s/atof/atoi/
2001-10-01 12:44:24 +00:00
obrien
700804d7d0
Add the 4.4-FreeBSD libperl.so.3 as the version in -CURRENT is .so.4.
2001-10-01 11:25:34 +00:00
obrien
e4f92ef619
Add the 4.4-FreeBSD libedit.so after the sh version bump in -CURRENT due
...
to the API changes from merging with the NetBSD libedit.
2001-10-01 09:26:23 +00:00
obrien
d19b018f0e
What was I thinking???
...
<JEDI MIND TRICK>
That was not the commit you wanted to get.
</JEDI MIND TRICK>
2001-10-01 09:25:49 +00:00
obrien
35a21ee47e
What was I thinking....
...
<JEDI MIND TRICK>
This is not the commit you wanted to get.
</JEDI MIND TRICK>
2001-10-01 09:22:04 +00:00
obrien
1505d842e0
Add the 4.4-FreeBSD libwrap after the sh version bump in -CURRENT due to
...
the API changes from merging with the NetBSD libwrap.
2001-10-01 09:17:23 +00:00
obrien
90300f8536
+ Sync with NetBSD, bringing in feature enhancements.
...
+ Convert to ANSI-C function definitions
+ style(9)
Submitted by: kris
2001-10-01 08:41:27 +00:00
dillon
198df63868
Add huff __FBSDID()s puff to whew! libz
2001-09-30 22:39:00 +00:00
dillon
ae3a4e3b01
Add __FBSDID()s to liby
2001-09-30 22:36:18 +00:00
dillon
3f4eabe659
Add __FBSDID()s to libutil
2001-09-30 22:35:07 +00:00
dillon
35945dc1b7
Add __FBSDID()s to libusb
2001-09-30 22:30:55 +00:00
dillon
615806b0ec
Add __FBSDID()s to libtelnet
2001-09-30 22:30:15 +00:00
dillon
1788c68652
Add __FBSDID()s to libtacplus
2001-09-30 22:29:19 +00:00
dillon
f6666a61a9
Add __FBSDID()s to libstand
2001-09-30 22:28:01 +00:00
dillon
2dd900a9ef
Add __FBSDID()s to librpcsvc
2001-09-30 22:15:15 +00:00
dillon
42cae7582d
Add __FBSDID()s to libradius
2001-09-30 22:12:36 +00:00
dillon
fcad02973f
Add __FBSDID()s to libpam
2001-09-30 22:11:06 +00:00
dillon
a437a2e49d
Add __FBSDID()s to libopie
2001-09-30 22:04:49 +00:00
dillon
d73daa7317
Add __FBSDID()s to libnetgraph
2001-09-30 22:03:54 +00:00
dillon
4bd4e36960
Add __FBSDID()s to libncurses
2001-09-30 22:02:43 +00:00
dillon
8411ee0def
Add __FBSDID()s to libncp
2001-09-30 22:01:19 +00:00
dillon
147ed5d738
Add __FBSDID()s to libmp
2001-09-30 21:58:17 +00:00
dillon
ed504fcccb
add __FBSDID()s to libmd
2001-09-30 21:56:22 +00:00
dillon
f844085713
Add __FBSDID()s to libm
2001-09-30 21:53:45 +00:00
dillon
863b71fe4c
Add __FBSDID()s to libipx
2001-09-30 21:45:06 +00:00
dillon
06293dece1
Add __FBSDID()s to libipsec
2001-09-30 21:43:45 +00:00
dillon
b05076f6b7
Add __FBSDID()s to libio
2001-09-30 21:41:46 +00:00
dillon
3122839604
Add missing '*/' (? why wasn't this caught earlier?)
2001-09-30 21:39:44 +00:00
dillon
1798b679e2
Add __FBSDID()s to internal libgnumalloc()
2001-09-30 21:38:17 +00:00
dillon
9a8dd80b42
Add __FBSDID()s to libftpio
2001-09-30 21:36:38 +00:00
dillon
9e8adf09a9
Add __FBSDID()s to libfetch
2001-09-30 21:36:09 +00:00
dillon
a42c99f236
Add __FBSDID()s to libedit
2001-09-30 21:21:36 +00:00
dillon
4015450ecd
Add __FBSDID()s to libdisk
2001-09-30 21:16:57 +00:00
dillon
29ab59ceb1
Add __FBSDID()s to libcam
2001-09-30 21:13:43 +00:00
dillon
e041f12187
Add __FBSDID's to libcalendar
2001-09-30 21:09:57 +00:00
dillon
2cea915f9c
__FBSDID() Cleanup
2001-09-30 21:06:00 +00:00
dillon
384d1b2861
Add __FBSDID's to libalias
2001-09-30 21:03:33 +00:00
peter
218bb1b355
Update COMPAT3X libc from RELENG_3. This solves the problem of running
...
3.x binaries with a mixture of 3.x and 5.x libraries (eg: Metro-X server).
2001-09-28 22:30:07 +00:00
asmodai
1036376e73
Add ERRORS section.
...
Mention thread safety and async-cancel safety status [not].
Add standards compliancy references.
Note strtol() is preferred over atoi().
MFC after: 2 weeks
2001-09-26 20:22:44 +00:00
asmodai
176ff42ed5
Be explicit about the POSIX version it conforms to [in this case 1990].
...
Put the error comment under the more appropriate ERRORS section.
2001-09-26 20:10:10 +00:00
asmodai
518e58c70b
Change standards compliancy order so that C and POSIX are grouped.
2001-09-26 19:42:39 +00:00
ache
c8a3d8ce02
1) Back out ~/.login_conf disable
...
2) Pick only "me" class from ~/.login_conf as documented
2001-09-25 11:07:26 +00:00
murray
876f3cf6ac
- Correct capitalization of a function name.
...
- Add a missing word to form a complete sentence.
PR: docs/30626
Submitted by: Dan Lukes <dan@obluda.cz>, and
swear@blarg.net (Gary W. Swearingen)
2001-09-24 02:51:43 +00:00
ken
51f12c2733
Turn on WARNS?= 2 for libdevstat.
...
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
2001-09-23 23:03:23 +00:00
mike
393333febc
Note that strdup(3) will set errno if memory allocation fails. This
...
is also required by the forthcoming POSIX.1-200x standard.
Obtained from: malloc.3
2001-09-23 00:37:42 +00:00
dfr
69d68ac34b
Fix a whole bunch of dependancy bugs and make it actually work when the
...
size is not a multiple of eight.
2001-09-22 18:27:01 +00:00
dfr
8a0f924b15
Fix byte swapping - it was totally broken.
2001-09-22 18:22:53 +00:00
ru
15e67804a7
Reset ``schg'' flag before removing stale libs.
2001-09-22 08:11:24 +00:00
rwatson
e75c1c3376
o Modify access(2) man page to describe eaccess(2), and add a symlink
...
so man eaccess will return the access(2) man page.
Obtained from: TrustedBSD Project
2001-09-21 21:35:22 +00:00
ru
7de7d2144f
Fixed the bug that prevented communication with FTP servers behind
...
NAT in extended passive mode if the server's public IP address was
different from the main NAT address. This caused a wrong aliasing
link to be created that did not route the incoming packets back to
the original IP address of the server.
natd -v -n pub0 -redirect_address localFTP publicFTP
Note that even if localFTP == publicFTP, one still needs to supply
the -redirect_address directive. It is needed as a helper because
extended passive mode's 229 reply does not contain the IP address.
MFC after: 1 week
2001-09-21 14:38:36 +00:00
ru
fbccfc730c
Replace our stale-lib cleanup with a better one. (less bloated)
2001-09-21 11:32:51 +00:00
peter
a1be98c184
Replace my stale-lib cleanup with a better one. (less noisy)
...
Submitted by: ru
2001-09-21 09:22:34 +00:00
peter
c305ea1ee5
Put on my peril-sensitive sunglasses. Remove any old libraries that
...
we have just installed a replacement for. This should solve the problem
of having a stale /usr/lib/libc.so.4 after we put a fresh
/usr/lib/compat/libc.so.4 in its place.
2001-09-21 09:10:09 +00:00
ru
88406011aa
Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants.
2001-09-20 12:32:45 +00:00
obrien
32232bb304
Shared libraries from 4.4-FreeBSD needed for proper binary compatibility.
2001-09-20 06:22:09 +00:00
sobomax
f261311bf8
Add support for loading bzip2-compressed filesystems. Among other things
...
this would allow to load bzip2-compressed kernels/modules from the loader(8)
(support for that will be committer separately).
MFC after: 1 month
2001-09-18 13:01:12 +00:00
ache
7f444f21ed
First appeared in 5.0, not in 4.4
2001-09-17 08:18:45 +00:00
mike
c097487da5
style(9)
...
Silence from: phantom
2001-09-17 00:23:19 +00:00