phantom
d4e3ae3d2b
. Fix semantics of grouping (LC_MONETARY::mon_grouping,
...
LC_NUMERIC::grouping) values.
. Always set __XXX_changed flags then loading numeric & monetary locale
categories to allow localeconv() to use C locale also.
2001-02-10 15:36:46 +00:00
ru
07f08bc934
mdoc(7) police: polishing.
2001-02-10 10:51:39 +00:00
ru
491030fdcc
mdoc(7) police: mark LC_NUMERIC with .Dv.
2001-02-10 10:26:52 +00:00
nik
677b714f57
Improve language and code examples.
...
PR: docs/24961
Submmitted by: Tony Finch <dot@dotat.at>
2001-02-10 07:48:01 +00:00
ache
0e7900a440
Note that decimal point taken from locale
2001-02-10 06:42:32 +00:00
ache
d616751a35
Note that decimal point taken from locale (SUSv2)
2001-02-10 06:32:03 +00:00
ache
6679201fe7
Take decimal point from locale instead of hardcoded '.' (SUSv2)
2001-02-10 06:25:33 +00:00
ache
dbf0a463e4
Note that decimal point character taken from locale (SUSv2)
2001-02-10 05:52:59 +00:00
ache
29f5f24614
Use decimal point from localeconv() instead of hardcoded '.' (SUSv2)
2001-02-10 05:46:05 +00:00
ache
2cb0d28611
Note the fact that decimal point taken from locale (according to SUSv2)
2001-02-10 05:16:41 +00:00
ache
4060fa06fa
Use decimap_point from localeconv() instead of hardcoded '.'
...
Obtained from: inspired by NetBSD strtod
2001-02-10 05:05:09 +00:00
ache
cf38bc80e0
As temporary workaround for missing *grouping fields parser always return "no
...
grouping" (CHAR_MAX, '\0').
Fixme: grouping parser needs to be implemented.
2001-02-10 04:32:55 +00:00
ache
3e4ec8e5b2
According to Garrett, POSIX widely use -1 to indicate CHAR_MAX, so back out
...
all my "-1" -> "something" fixes and replace -1 with CHAR_MAX directly in
strtol() in cnv()
2001-02-10 03:31:23 +00:00
ache
b8bd5d2b44
Use __XSTRING(CHAR_MAX) instead of "127" and strtol() base 0 to parse it (0x7f)
2001-02-10 02:00:56 +00:00
ache
0ec6d3ee51
Correct myself a bit: situation is broken not for _all_ numeric LC_MONETARY,
...
LC_NUMERIC fields, but only for *grouping fields - other fields are converted
to a chars in localeconv(), so final change is:
"-1" -> "127"
127 here is because CHAR_MAX supposed, which is _positive_ (SUSv2 requirement),
not negative as 255. It is still a bit of hack. To find real CHAR_MAX will be
better to sprintf() it once somewhere in static buffer. *grouping parsing
still broken and missing and needs to be implemented.
2001-02-10 01:38:18 +00:00
ache
55d37192a4
NOTE: according to SUSV2 and other implementations, numeric elements in
...
LC_MONETARY, LC_NUMERIC are byte-arrays, not ASCII strings!
Fix "C" locale, change "-1" to {CHAR_MAX, '\0'} according to standards.
This is only partial fix - locale loading procedure remains broken as before
and load too big values for all locales. All numeric strings there should be
converted with something like atoi() and placed into bytes. Maybe I do it
later, if someone will not fix it faster.
2001-02-10 00:43:32 +00:00
ache
65bbb059b2
Implement CODESET
2001-02-09 22:43:39 +00:00
tegge
172bac8699
Backout previous commit. Use of spinlocks was not approved.
...
PR: 15070
2001-02-09 20:31:48 +00:00
nik
c90a746254
Describe the arguments to gethostbyaddr.
...
PR: docs/24225
Submitted by: Joakim Henriksson <jurduth@ludd.luth.se>
Patch from: ben
2001-02-09 19:06:25 +00:00
ache
8060d7461b
Back out attempt to implement CRNCYSTR - require additional prefixes according
...
to SUSV2. Add comment explaining it instead.
2001-02-09 18:39:17 +00:00
ache
5026efeb4d
Explicitly mark deprecated entries.
...
Return currency_symbol for CRNCYSTR
Return "%r" for T_FMT_AMPM
Remove obsoleted comment about c_fmt
Return "" for {YES,NO}STR
2001-02-09 18:16:12 +00:00
ru
cc4427cd1a
mdoc(7) police: prevent generation of the extra
...
whitespace after ``i.e.'', use .Rv, update .Dd.
2001-02-09 12:47:23 +00:00
ru
feaf463d56
mdoc(7) police: fixed the weird construct.
2001-02-09 09:08:53 +00:00
ache
90521c24f8
Hardcode c_fmt in a different way since used in nl_langinfo now
2001-02-08 20:55:38 +00:00
tegge
d93ead21a2
Protect freelists managed by Balloc/Bfree with a spinlock.
...
Change __dtoa to not free the string it allocated the previous time it was
called. The caller now frees the string after usage if appropiate.
PR: 15070
2001-02-08 20:22:28 +00:00
phantom
dd4c526765
add lmonetary.?, lnumeric.?, ldpart.?, lmessages.?, nl_langinfo.c
...
remove lconv.c
2001-02-08 17:13:24 +00:00
phantom
043f9a3fa1
Add SUSv2 compatible nl_langinfo() function. It still need some work, but
...
this is already usable one.
2001-02-08 17:12:03 +00:00
phantom
028f19b91b
Catch up to latest chanage in timelocal structures exporting.
2001-02-08 17:08:13 +00:00
phantom
fe9086e23b
Export internal data structures in same manner as numeric/monetary/messages
...
structures exported.
Protect timelocal.h from multiple inclusions.
2001-02-08 17:06:37 +00:00
phantom
d35a50f010
Make localeconv() actual function. Now it will use LC_MONETARY/LC_NUMERIC
...
information to fill return structure. Remove unused anymore stub.
2001-02-08 17:03:01 +00:00
phantom
e396ac20a4
Make FreeBSD locale support complete: add support for rest locale categories
...
LC_MONETARY, LC_NUMERIC and LC_MESSAGES. Remove stub functions since they
don't need anymore.
Reviewed by: silence on -i18n
2001-02-08 16:58:53 +00:00
nectar
a7ec51af6e
Document the cases in which setreuid changes the saved-user-ID.
2001-02-08 12:43:33 +00:00
ru
2b9e4b5e9b
mdoc(7) police: print #ifdef/#endif literally,
...
and as list items (to get the correct offset).
2001-02-08 10:40:42 +00:00
ru
a1870463d8
mdoc(7) police: C types should be declared with either .Ft or .Vt.
2001-02-08 10:22:35 +00:00
sobomax
010d4c2499
Fix a f^Hdamn typo, which prevented to fopen() more that 17 files at once.
...
Tested by: knu, sobomax and other #bsdcode'rs
2001-02-07 17:34:48 +00:00
ru
5addfd60d6
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
asmodai
7dcfea0100
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
Add $FreeBSD$.
2001-02-06 12:04:54 +00:00
asmodai
47a2266000
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Submitted to look at by: kris
2001-02-06 10:39:38 +00:00
bde
9f31431f35
Fixed C error(s) in synopsis.
2001-02-06 00:02:32 +00:00
bde
88cfc8e9de
Fixed errors in prototypes. Many were hiding under mdoc errors.
2001-02-05 15:24:34 +00:00
bde
4846f5fbda
Fixed C error(s) in synopsis. Many were hiding under mdoc errors.
2001-02-05 15:19:56 +00:00
bde
fa4a1ef18e
Fixed errors in prototypes. Many were hiding under mdoc errors.
2001-02-05 15:11:09 +00:00
bde
a4f13fcee9
Fixed C error(s) in synopsis. Many were hiding under mdoc errors.
2001-02-05 15:00:21 +00:00
bde
070f4b4369
Don't install links for crypt.3 here. There is no crypt.3 here...
...
Forgotten in: rev.1.58, which was not Submitted by: bde (I requested
untangling parts of the crypto mess).
2001-02-05 14:55:14 +00:00
phk
098a0a97ed
Remove a sizeof(void *) == sizeof(int) assumption.
...
Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
2001-02-04 10:06:24 +00:00
mckay
f01b7a4774
Spelling.
2001-02-04 02:05:16 +00:00
nectar
e0a455e293
strcpy -> strlcpy paranoia
...
Submitted by: Mike Heffner <mheffner@vt.edu>
Reviewed by: freebsd-audit
2001-02-02 13:22:43 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
deischen
ca55abf319
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
...
and treating (almost) all system calls the same way:
__sys_foo - actual syscall
foo, _foo - weak definitions to __sys_foo
Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).
Add $FreeBSD$ to a few files to satisfy commitprep.
Suggested by: bde
2001-01-29 03:23:46 +00:00
ume
210c2f7b7c
s/err1/errx/.
...
http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673
Obtained from: KAME
2001-01-26 13:46:40 +00:00
deischen
56363d25db
Comment only change; s/_thread_sys_/__sys_/
2001-01-26 02:41:07 +00:00
deischen
d683e4c4af
Comment change only; s/_thread_sys_/__sys_/
2001-01-26 02:27:06 +00:00
deischen
1635c221b7
Remove _THREAD_SAFE and make libc thread-safe by default by
...
adding (weak definitions to) stubs for some of the pthread
functions. If the threads library is linked in, the real
pthread functions will pulled in.
Use the following convention for system calls wrapped by the
threads library:
__sys_foo - actual system call
_foo - weak definition to __sys_foo
foo - weak definition to __sys_foo
Change all libc uses of system calls wrapped by the threads
library from foo to _foo. In order to define the prototypes
for _foo(), we introduce namespace.h and un-namespace.h
(suggested by bde). All files that need to reference these
system calls, should include namespace.h before any standard
includes, then include un-namespace.h after the standard
includes and before any local includes. <db.h> is an exception
and shouldn't be included in between namespace.h and
un-namespace.h namespace.h will define foo to _foo, and
un-namespace.h will undefine foo.
Try to eliminate some of the recursive calls to MT-safe
functions in libc/stdio in preparation for adding a mutex
to FILE. We have recursive mutexes, but would like to avoid
using them if possible.
Remove uneeded includes of <errno.h> from a few files.
Add $FreeBSD$ to a few files in order to pass commitprep.
Approved by: -arch
2001-01-24 13:01:12 +00:00
wollman
27b9f7486e
I made a last-minute change before the last commit which broke
...
the errno semantics. Get it (closer to) right this time.
2001-01-23 17:36:07 +00:00
ru
43d15f8b7a
mdoc(7) police: replaced empty line with .Pp, updated document date.
2001-01-23 08:41:38 +00:00
wollman
2d9096c43d
Add a couple of new library interfaces (will be activated when the
...
relavant header file changes are committed) for POSIX support.
2001-01-23 04:49:39 +00:00
mckusick
3343c7fd58
Add the function sysctlnametomib to libc. Details on the semantics
...
and use of this function have been added to the sysctl.3 manual page.
2001-01-23 03:40:32 +00:00
ru
17384aec71
man(7) -> mdoc(7).
2001-01-18 12:56:17 +00:00
ben
6c17e2cfa9
Document EHOSTDOWN error.
...
PR: 24410
Submitted by: Martin Horcicka <horcicka@vol.cz>
2001-01-17 21:02:50 +00:00
jedgar
168082bf38
Clarify comments referring to strlcat() usage
...
Obtained from: OpenBSD
2001-01-17 20:51:20 +00:00
jedgar
3644801234
- Reverse the order of two loop invariant to ensure strlcat() does not
...
attempt to read memory when siz is 0
- Clarify comments referring to strlcat() usage
PR: 24278, 24295
Submitted by: Tony Finch <dot@dotat.at>
Richard Kettlewell <rjk@greenend.org.uk>
Reviewed by: -audit
2001-01-17 20:51:16 +00:00
ben
10361fc9ee
Merge the documentation for sigsetmask() and sigblock() into a
...
single manual page, appropriately linked, since this removes the
decision of which page the (previously non-existent) sigmask.2
MLINK should point at.
Submitted by: will
2001-01-17 19:20:58 +00:00
ru
2b24819cd8
man(7) -> mdoc(7).
2001-01-17 18:26:21 +00:00
ru
49ab0ab564
rstat(1) and rstat_svc(8) are the early versions of
...
the rup(1) and rpc.rstatd(8) manpages respectively.
2001-01-17 11:50:42 +00:00
rwatson
80d719db5a
o When returning NULL, return (NULL) instead of return (0).
...
Submitted by: jedgar
Obtained from: TrustedBSD Project
2001-01-17 02:40:39 +00:00
ben
fc894be9c6
SIGABRT is *not* the same as calling abort(), so don't claim that it is.
...
(abort() flushes all open stdio streams for one thing.)
PR: 24249
Submitted by: Edwin Groothuis <mavetju@chello.nl>
2001-01-16 22:25:26 +00:00
ben
184a7583f1
The bit about sigpending not detecting any errors is a lie, it can return
...
EFAULT.
PR: 24360
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-01-16 21:57:42 +00:00
ru
3d8401c62e
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
ru
0a221c5a50
mdoc(7) police: Ft/Vt now accept punctuation-type arguments.
2001-01-12 15:46:56 +00:00
ru
2f5bb304eb
man(7) -> mdoc(7).
2001-01-12 13:35:17 +00:00
ru
f0c3b90bc8
man(7) -> mdoc(7).
2001-01-12 09:51:45 +00:00
ru
33b7506ce9
man(7) -> mdoc(7).
2001-01-11 20:07:30 +00:00
ru
8b926faef3
mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.
2001-01-10 11:32:04 +00:00
rwatson
0a3118c247
o acl_from_text.c:
...
- errno is already set to ENOMEM (as appropriate) when asprintf(),
strdup(), or acl_init() fails
o acl_to_text.c:
- the return value of the initial strdup() is not checked
- errno is already set to ENOMEM (as appropriate) when asprintf
and acl_init() fails
- let the the default: case use 'goto error_label' for consistency
Submitted by: jedgar
2001-01-09 05:45:03 +00:00
rwatson
a80aac3d99
o bzero() the ACL structure only if malloc() returns non-NULL.
...
Submitted by: jedgar
2001-01-09 05:42:31 +00:00
rwatson
77af9a1a64
o Correct spelling error from patch in previous commit.
2001-01-09 05:40:54 +00:00
rwatson
8b948144e8
o Add missing initialization of errno from error returns of
...
cap_get_fd(), cap_get_file() and cap_get_proc().
Submitted by: jedgar
2001-01-09 05:40:10 +00:00
rwatson
b87b91a453
o Make acl_from_text() support uid's and gid's as well as usernames
...
and groupnames, by adding appropriate support to acl_name_to_id()
in acl_support.c
Submitted by: green
2001-01-08 01:28:53 +00:00
jedgar
01950c7ecf
Correct check of getgrnam output
...
Approved by: rwatson
2001-01-07 21:41:05 +00:00
archie
e85856e946
Fix bugs in the handling of > 8 positional arguments:
...
- The stack was getting smashed by __grow_type_table()
- reallocf() was being called with the wrong pointer
- The maximum argument number was being incorrectly computed
PR: misc/23521
2001-01-06 20:48:00 +00:00
alex
e68548a9cc
gethostbyname2() is able to lookup AF_INET6.
...
PR: 23823
Noticed by: Andrew Arensburger <arensb@ooblick.com>
2001-01-06 12:48:43 +00:00
obrien
6ba3379af0
Fix SCCS id string abuse I introduced.
2001-01-02 09:10:14 +00:00
deischen
62702ce855
Change the interface of getlogin_r to return an int. The former
...
interface was based on a draft version of POSIX whereas the final
(1996) version of POSIX specified that the error is returned.
While I'm here, fix getlogin_r so that it works for more than just
the first time it's called.
Reviewed by: wes, wollman (man page)
2001-01-01 13:29:19 +00:00
ben
97e5bd7d4e
Make it a bit clearer that asprintf doesn't actually "return" a pointer in
...
the normal sense of the word, but does it through one of its arguments which
is a pointer to a pointer.
PR: 23717
Submitted by: phk
2001-01-01 05:19:52 +00:00
green
6277537cb3
Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon
...
quitting every time. The way to free a CIRCLEQ was to loop until
the current == current->head, but the way to free a TAILQ is to loop
until current->head == NULL.
In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks
and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened
if the loop wasn't hard-coded...
There may be more bugs of this type from the conversion.
2000-12-30 16:10:32 +00:00
phk
6180841d0a
Use TAILQ instead of CIRCLEQ.
2000-12-29 20:25:01 +00:00
ru
6378a80ceb
Fixed typo not fixed in previous revision.
2000-12-29 14:36:05 +00:00
ru
8ba4187688
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
ben
724d26cc9e
Link stringlist.3 to sl_{add,find,free,init}.3
2000-12-27 20:00:01 +00:00
nectar
123cf0fb40
Fix mostly harmless typo:
...
if (data);
free(data);
Discovered by: emacs cc-mode
2000-12-17 21:10:41 +00:00
ru
e5a37f2e6f
mdoc(7) police: added missing .Os call.
2000-12-14 13:58:15 +00:00
ru
c23c39b3a4
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
obrien
e810645812
#endif should not have a non-comment token after it.
...
GCC 2.97 (snapshot) complains about this.
2000-12-13 08:59:18 +00:00
rwatson
8ba4e536f8
o Introduce a pile more documentation about capabilities, including
...
identification and descriptions of most capabilities, current inheritence
rules, etc. More to follow.
Reviewed by: sheldonh
Obtained from: TrustedBSD Project
2000-12-11 15:25:49 +00:00
ru
278161ed6c
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
deischen
45428979ec
Move telldir position recording type definitions and prototypes
...
to "telldir.h" in order to prevent namespace pollution in
<dirent.h> (which was including <sys/queue.h>).
Add $FreeBSD$ to rewinddir.c and seekdir.c.
2000-12-11 04:00:36 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
alex
7aeae74656
strunvis(3) and unvis(3) are the same files.
2000-12-08 12:35:06 +00:00
alex
077cec65af
There are four types of encoding now, not three. Most of them use the
...
backslash as a special char, but not all.
2000-12-08 12:17:53 +00:00
ru
76194e6422
Upgrade to groff 1.16.1.
2000-12-06 11:38:34 +00:00
ru
9161f5f626
Back this out, we apparently have the ipfw(4).
2000-12-06 06:50:24 +00:00
ru
6dc9f45ae0
ipfw(4) -> ipfw(8).
2000-12-06 06:48:28 +00:00
deischen
cf92dabe14
Cleanup XXXdir functions to eliminate global hash table of
...
telldir positions. This will allow (future) locking on a
per-DIR basis (for MT-safety). For now, this change does
the following:
o Remove the hash table from telldir.c. Recode to use queue
macros.
o Remove 'const' from 'telldir(const DIR *)'.
o Remove 'register' variables as suggested in a recent
thread.
No response from: -current
2000-12-06 03:15:49 +00:00
jhb
34acd4e355
Move the ipfw(4) xref to the description of LOG_SECURITY instead of
...
LOG_UUCP.
PR: docs/23302
Submitted by: cshumway
2000-12-05 20:30:28 +00:00
ume
af22402f6e
- __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpd
...
- iruserok_sa() and __ivaliduser_af() were re-organized to use
__ivaliduser_sa()
- __icheckhost() was re-written to use getaddrinfo() instead of
getipnodebyname()
- better handling of multiple destination addresses in rcmd()
These changes were basically taken from KAME and changed to fit our
rcmd.c.
Obtained from: KAME
2000-12-04 18:02:12 +00:00
ru
644a5df944
mdoc(7) police: fix formatting errors in rev 1.27.
2000-12-04 08:11:50 +00:00
jdp
2a2576da75
When recording the original arguments, stop short if we encounter
...
a NULL argument. Some programs change the contents of the argv
array, typically to remove some special arguments. They shorten
argv by storing a NULL where an argument pointer used to be. Such
programs core dumped if they called setproctitle(), because it
would try to apply strlen() to a NULL pointer.
2000-12-04 01:45:57 +00:00
jdp
1a3b428b9e
When recording the original arguments, don't (ab)use "nargc" for
...
iterating over the arguments. Doing so wipes out the value which
is about to be stored into the ps_strings structure.
2000-12-04 01:26:29 +00:00
dillon
c71941ee21
Add warning on file-fragmentation issues related to MAP_NOSYNC
2000-12-03 20:17:36 +00:00
jake
cec123a65f
Remove last vestiges of thr_sleep and thr_wakeup from libc.
2000-12-02 05:58:03 +00:00
gad
2b0e48c014
Fix some error-handling logic so that ferror is called before fclose,
...
instead of immediately after the fclose. The previous logic did work
on freebsd, but is somewhat risky practice (and causes trouble when
porting to other OS's).
PR: bin/22965
Reviewed by: Garrett Wollman
2000-12-02 00:07:56 +00:00
alfred
04e161e499
document O_NOFOLLOW and O_FSYNC flags to open
2000-11-29 04:08:49 +00:00
jhb
09e0dbdcd9
Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
...
happy.
2000-11-28 22:59:14 +00:00
mph
84bc874893
The parameter that contains valid options is "optstring", not "optarg".
2000-11-28 22:06:17 +00:00
sobomax
a7b1ee02c0
Add reference to elf(5) in addition to already mentioned a.out(5) and add both
...
elf(5) and a.out(5) into `SEE ALSO' section.
2000-11-27 15:18:25 +00:00
obrien
21353e6b13
Note that the `fmt' parameter is a printf()-like string.
2000-11-26 23:33:40 +00:00
phk
5df764b518
Make it possible to override the function which writes messages to
...
stderr in case of warnings and errors.
Rename malloc_options to have a leading underscore, I belive I have been
told that is more correct namespace wise.
2000-11-26 10:30:18 +00:00
kris
092949d321
sprintf -> snprintf
2000-11-26 09:05:40 +00:00
sheldonh
61394742b5
Remove the only hard sentence break in the file.
2000-11-24 10:48:02 +00:00
ru
f7c856a264
Eliminate groff(1) warnings.
2000-11-24 09:33:37 +00:00
ru
bdc5340b39
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:02:00 +00:00
ru
1a6c69e84a
log
2000-11-22 09:23:54 +00:00
jlemon
8c110f84bf
Fix a logic reversal: the RFFDG flag must be unset in order to share
...
a file descriptor table. (Thanks to Alan Cox)
Clarify the fact that the changelist and eventlist can be shared.
2000-11-21 22:40:59 +00:00
asmodai
8b76fef8df
Clarify the time parameter of the kevent() system call.
...
Inspired by PR: 21708
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
Reviewed by: jlemon
2000-11-21 15:22:36 +00:00
sheldonh
5df8ea840b
Fix hard sentence break introduced in rev 1.7.
2000-11-20 16:25:10 +00:00
sheldonh
950abf2d5a
Add a period missing from rev 1.13.
2000-11-20 16:19:37 +00:00
sheldonh
e8fbfc7b68
Remove blank line introduced in rev 1.13.
2000-11-20 16:18:45 +00:00
ru
26c9ec6216
mdoc(7) police: fixed warnings.
2000-11-20 14:22:41 +00:00
ru
adf9e19a74
mdoc(7) police: fixed warning.
2000-11-20 14:18:21 +00:00
ru
f7a10404bc
mdoc(7) police: Nm -> Fn where appropriate.
2000-11-20 14:11:46 +00:00
ru
55a2350701
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:08:07 +00:00
kris
21ab1b113e
MAXPATHNAMELEN -> MAXPATHLEN
...
Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD
Obtained from: OpenBSD
2000-11-19 11:29:58 +00:00
kris
4d2f72a2d5
Don't suggest people use getpid() to construct temporary filenames;
...
point them to mkstemp() instead.
Obtained from: OpenBSD (based on)
2000-11-19 10:30:42 +00:00
kris
22625cdfe7
Update the documentation to describe the new mktemp() family behaviour.
...
Also notes that mkstemp() first appeared in 4.4BSD (change obtained
from OpenBSD)
Reviewed by: sheldonh
2000-11-19 10:21:32 +00:00
ru
eb8c554f56
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
ru
e580bf73b6
Replace a dagger' sign with a
double dagger' one.
...
The former looks ugly on grotty(1) devices.
2000-11-16 11:22:42 +00:00
ben
bd39d53f34
Remove fullstops from the end of .Xr lines in SEE ALSO section.
2000-11-15 14:40:14 +00:00
ru
c3b1026985
Convert this from -man to -mdoc.
2000-11-14 16:47:54 +00:00
ru
7d99729431
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
sheldonh
c4a77380ec
Change [Ii]t's to "It is" and "its" as appropriate.
2000-11-14 07:36:51 +00:00
sheldonh
8e96fd263c
Whitespace only: remove hard sentence breaks introduced in previous
...
commit and use a paragraph marker (Pp) instead of a blank line.
2000-11-14 07:35:02 +00:00
obrien
670d8859eb
Bump the shared lib version. There seems to have been an incompatible
...
change committed to RELENG_4 where a bump there is now necessary.
We've got to go before RELENG_4 does.
2000-11-14 02:46:23 +00:00
nectar
7df19d1455
Fix bug introduced in previous commit: users obtained via compat mode
...
had uid, gid set to 0 if not otherwise specified!
Submitted by: eivind
2000-11-13 21:22:50 +00:00
nik
eacae59bd6
Create the links for the reentrant time functions.
...
PR: docs/22644
Submitted by: andrew@ugh.net.au
2000-11-12 16:17:53 +00:00
abial
2af0629720
Correct description of KERN_PROC. Add description of KERN_PROC_ARGS.
2000-11-11 16:12:30 +00:00
kris
919c3e124e
Increase the size of the mktemp() filename space by dropping the PID from
...
the encoding and using the character set [a-zA-Z0-9]. This gives a total
of 62^6 = 56800235584 possible temporary filenames for the usual default
invocation of 6 X's (compared to as few as 52 possibilities for the
previous algorithm where up to 5 characters were wasted by the PID).
Update some apparently bitrotten comments to reflect reality.
Audited by: eivind, freebsd-audit
Reviewed by: freebsd-current (a while ago)
Originally submitted by: Peter Jeremy <Peter.Jeremy@alcatel.com.au>
2000-11-10 23:27:55 +00:00
alfred
27c11d750a
remove outdated bugs, we actually do have aio_cancel support
...
as well as support for the field aio_offset in the aiocb structure.
2000-11-10 20:57:05 +00:00
nectar
8bab29b1ff
Fix passwd entry `prototypes' in compat mode. I broke this in revision
...
1.55 when importing nsswitch from NetBSD.
Reported by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
2000-11-10 19:11:14 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
obrien
8d96a006d8
Use size_t rather than a 16-bit data type fo the length.
...
PR: 9350
Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
2000-11-07 22:19:23 +00:00
ru
ff45078d39
Fixed typos.
2000-11-06 15:46:57 +00:00
kris
ae4267829c
More secure temporary filename. This needs to be revisited to use
...
mkstemp().
2000-11-02 10:14:09 +00:00
sheldonh
ef41f174d6
Fix nits introduced in rev 1.9:
...
Remove single-space hard sentence break.
Mark errno up as a Variable (Va).
2000-10-30 19:43:30 +00:00
asmodai
bee55593c7
Replace old sigaction struct declaration with the new one as present
...
in <sys/signal.h>.
This might be a shortterm fix until the manpage is updated towards
POSIX terminology. And maybe not...
PR: 21542
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2000-10-30 14:27:18 +00:00
asmodai
2bc01a1e62
Correct incorrect information about the PATH used for exec*() calls.
...
PR: 21990
Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-30 13:39:23 +00:00
asmodai
5e2215e426
Whitespace only change: trim trailing whitespace.
2000-10-30 13:23:19 +00:00
sumikawa
8cfaee4a94
Fix memory leak.
...
Obtained from: KAME
2000-10-29 16:10:48 +00:00
eivind
b94f208d17
Back out previous commit (MLINK malloc.conf.5 -> malloc.3).
...
This did not work correctly with whatis(1).
Issue brought up by: mpp
2000-10-29 13:20:24 +00:00
eivind
01fd1b0f22
Add link malloc.conf.5 -> malloc.3
2000-10-29 09:59:35 +00:00
mpp
b48dc4a4e8
Style & grammar fixes.
...
PR: docs/22374, docs/13020
2000-10-28 18:37:37 +00:00
ume
19ead08f69
defined HAVE_IFM_DATA for (free|net|open)bsd
...
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from: KAME Project
2000-10-28 17:54:19 +00:00
nectar
51bb4dd60a
Explicitly initialize _pw_passwd.
2000-10-27 18:27:07 +00:00
ume
c88ea413c0
Make RES_OPTIONS=inet6 work.
...
Basically PR22196, but slightly modified.
PR: bin/22196
2000-10-27 12:34:52 +00:00
ache
963bc17524
For %c replace reference to asctime(3) with ctime(3) from which %c genetically
...
originates
2000-10-26 22:11:11 +00:00
ache
f3a75b8eda
Treat c_fmt field as compatibility placeholder
2000-10-26 16:20:57 +00:00
ache
5d5fb83f13
Force "%c" to be ctime-compatible
...
Submitted by: ru
2000-10-26 16:07:04 +00:00
ache
3e116740c8
Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmt
...
Submitted by: ru
2000-10-26 14:22:41 +00:00
ache
c1ea12cb91
Describe %c better
...
Submitted by: ru (with modifications)
2000-10-24 15:37:48 +00:00
n_hibma
e7738ffe89
Correct the text on RETURN VALUES.
2000-10-20 00:27:56 +00:00
dfr
befe0300bd
Return zero from setjmp() and _setjmp() for now.
2000-10-16 16:51:50 +00:00
dfr
00a16b5ef0
Fix a couple of dumb mistakes.
2000-10-16 16:48:48 +00:00
marcel
9b17e562cb
Fix RAW dependency violation on p6 between cmp and mov.
2000-10-15 20:33:41 +00:00
dfr
7c5dc96d3c
Initial libc port for ia64.
2000-10-14 17:01:12 +00:00
jwd
725e675c8b
Document the ptrace() PT_STEP request.
...
Add references to the newly added hardware debug register
support functions i386_clr_watch(3) and i386_set_watch(3).
Reviewed by: Sean Eric Fagan <sef@kithrup.com>
and no other response to the review request.
2000-10-14 04:01:39 +00:00
rwatson
9ddccb5505
o Introduce cap_from_text() and cap_to_text() implementations.
...
Reviewed by: green
Obtained from: TrustedBSD Project
Security audited by: imp, green
2000-10-13 18:24:58 +00:00
rwatson
79bb6ec5ea
o Simplify capability types away from an array of ints to a single
...
u_int64_t flag field, bounding the number of capabilities at 64,
but substantially cleaning up capability logic (there are currently
43 defined capabilities).
o Heads up to anyone actually using capabilities: the constant
assignments for various capabilities have been redone, so any
persistent binary capability stores (i.e., '$posix1e.cap' EA
backing files) must be recreated. If you have one of these,
you'll know about it, so if you have no idea what this means,
don't worry.
o Update libposix1e to reflect this new definition, fixing the
exposed functions that directly manipulate the flags fields.
Obtained from: TrustedBSD Project
2000-10-13 17:12:58 +00:00
rwatson
88e255ce85
o Update BUGS entry to indicate in a more precise manner the implementation
...
status of capabilities (library is complete, kernel work is maintained
outside the tree).
Obtained from: TrustedBSD Project
2000-10-12 17:58:14 +00:00
jasone
1fb33103fc
Fix pthread cancellation point propagation.
2000-10-12 04:29:44 +00:00
rwatson
14557f318d
o Introduce a MAINTAINER entry for libposix1e, since it is actively
...
developed and maintained.
2000-10-02 23:41:19 +00:00
nectar
cd493b1404
Use issetugid instead of comparing get[ug]id and gete[ug]id.
...
Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com>
2000-09-30 17:29:54 +00:00
nectar
b6189aae32
Ignore HESIOD_CONFIG and HES_DOMAIN environmental variables for
...
set-user-ID and set-group-ID programs.
Suggested by: Danny Braniss <danny@cs.huji.ac.il>
2000-09-29 12:56:33 +00:00
peter
13282b8968
Add man pages for mod*(2). Shamelessly cut/pasted from the kld*(2) man
...
pages by Chris Costello.
2000-09-28 22:39:59 +00:00
phantom
7413cf0b7c
Fix typo
...
PR: misc/21596
Submitted by: TOGAWA Satoshi <toga@puyo.org>
2000-09-27 18:24:31 +00:00
itojun
311be79390
off-by-1 error in string length validation
...
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-09-25 23:04:36 +00:00
rwatson
c82f318b15
o Minor whitespace, comment cleanups
...
o Removal of unneeded enum
o Removal of commented out debugging printf()'s.
Obtained from: TrustedBSD Project
2000-09-22 16:36:04 +00:00
eivind
cbd7d143c1
Better documentation of append mode. This should have gone in -current
...
directly. Now also .Xr fseek reference.
Prodded by: sheldonh
2000-09-22 12:55:36 +00:00
rse
8b07223607
Resurrect documentation of chflags(2)'s SF_ARCHIVED.
...
PR: 21428
Reviewed by: ben
2000-09-22 06:58:22 +00:00
bsd
878d7f2499
Add a couple of debug register helper functions to assist in setting
...
and clearing watchpoints.
Reviewed by: jwd@FreeBSD.org , -hackers@
2000-09-21 17:07:27 +00:00
brian
d3ad46b5d5
Oops, un-spam this file - the last commit was an accident.
...
Pointed out by: phk
2000-09-20 06:16:23 +00:00
brian
556211d48c
Only realloc() environ if we're sure that we know where it came from.
...
The recent problems with sshd were due to sshd reassigning
`environ' when setenv() thinks it owns it. setenv() subsequently
realloc()s the new version of environ and *boom*
2000-09-20 03:05:37 +00:00
rwatson
d7712a127a
o Whitespace reduction appled to FreeBSD CVS ID
...
Obtained from: TrustedBSD Project
2000-09-19 19:20:21 +00:00
rwatson
78ae6f5157
o General warning fixing commit
...
- Include <stdlib.h> and <string.h> as needed for prototypes
- Remove unneeded "error" variables
o Make cap_init() use cap_clear() instead of bzero()
Obtained from: TrustedBSD Project
2000-09-19 19:14:31 +00:00
rwatson
5d231e02f9
o Add cap_from_text(3) and cap_to_text(3) man pages.
...
o Implementations will remain in the seperately distributed capability
patch until the cap_t type changes are synchronized.
Obtained from: TrustedBSD Project
2000-09-19 19:04:47 +00:00
rwatson
f685b50bd4
o EACCES is not a possible error for acl_from_text(), so fix
...
acl_from_text.3
o Minor whitespace cleanups relative to the TrustedBSD tree to reduce
content-free differences.
Obtained from: TrustedBSD Project
2000-09-19 18:58:28 +00:00
jdp
2186ce0d36
Document RTLD_DEFAULT and the search algorithm used for resolving
...
undefined symbols.
2000-09-19 04:28:34 +00:00
jdp
24a6df9a6e
Make a somewhat unsatisfactory attempt to describe the effects of
...
the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
2000-09-19 04:02:05 +00:00
rwatson
4cfb55034a
o cap_set_flag() was not correctly clearing capabilities when value
...
was CAP_CLEAR.
Obtained from: TrustedBSD Project
2000-09-19 00:10:39 +00:00
phk
49cc6ddb0f
Pickup SPECNAMELEN from <sys/param.h> and use it.
...
A missing _PATH_DEVDB ("/var/run/dev.db") is not cause for a warning
anymore, the file is effectively optional these days.
2000-09-16 21:58:53 +00:00
ps
43658697fc
Change from using poll(2) to kqueue/kevent when waiting for a DNS
...
response to return. This will stop processes waiting on DNS requests
from being woken up when a select collision occurs. This was tested
on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing
lists.)
Reviewed by: jlemon, peter
2000-09-12 11:37:20 +00:00
nectar
4b57274ae4
Set h_errno when an error is encountered.
...
PR: bin/21092
Submitted by: Alexander Kabaev <ak03@gte.com>
2000-09-10 19:06:05 +00:00