Daniel Eischen
5f864214bb
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
Pawel Jakub Dawidek
e42e8df28f
Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates
...
on int, but in fact it should operate on long.
- Introduce 'lvalue' variable, which is long.
- Fix _SC_XOPEN_SHM for 64bit archs.
- Fix _SC_PHYS_PAGES for 64bit archs.
Reported by: simokawa
- Use lvalue for pathconf(3), as it returns long.
- Cast value explicitly to long on return.
2007-04-14 13:06:57 +00:00
Ruslan Ermilov
204542dd4c
Expand the description of the host's UUID.
...
OK'ed by: pjd
2007-04-10 11:19:52 +00:00
Alexander Kabaev
445eba04a8
Clean-ip TLS symbol versions. [_]__tls_get_addr function is part of
...
the platform ABI and as such does not belong in FBSDprivate.
__libc_tls_* functions do not have to be visible to outside world
at all.
2007-04-09 22:48:08 +00:00
Pawel Jakub Dawidek
1f13edbe4b
Document KERN_HOSTUUID.
...
Reminded by: ru
2007-04-09 20:21:49 +00:00
Pawel Jakub Dawidek
4e9f341722
Bump date.
2007-04-05 21:17:52 +00:00
Pawel Jakub Dawidek
f3a8d2f93c
Add security.jail.mount_allowed sysctl, which allows to mount and
...
unmount jail-friendly file systems from within a jail.
Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and
PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user.
It is turned off by default.
A jail-friendly file system is a file system which driver registers
itself with VFCF_JAIL flag via VFS_SET(9) API.
The lsvfs(1) command can be used to see which file systems are
jail-friendly ones.
There currently no jail-friendly file systems, ZFS will be the first one.
In the future we may consider marking file systems like nullfs as
jail-friendly.
Reviewed by: rwatson
2007-04-05 21:03:05 +00:00
Alexander Kabaev
f82d4eed2f
Add entry for dl_iterate_phdr.
2007-04-03 18:38:01 +00:00
Alexander Kabaev
832a21869c
Add stub for dl_iterate_phdr.
2007-04-03 18:35:20 +00:00
Jason Evans
2872a3cdfe
Change macro in order to refer to FreeBSD 7.0 instead of 7.0BSD.
...
Reported by: Michal Mertl <mime@traveller.cz>
2007-03-28 18:55:44 +00:00
Jason Evans
1d06bfeccf
Remove some stray roff formatting that caused incorrect rendering.
2007-03-28 04:33:34 +00:00
Tim Kientzle
0031cdf4d7
Don't assert() the TLS allocation requested is big enough; just
...
fix the argument.
In particular, this is a step towards breaking crt1's dependence on stdio.
2007-02-25 21:23:50 +00:00
Maxim Konovalov
af48594d13
o s/cgetseq/cgetset/
...
Obtained from: DragonFly
2007-02-11 18:14:49 +00:00
Peter Wemm
1fc6f17a31
Remove getobjformat() from libc's symbol map. It probably should have been
...
in the private area anyway. Nothing in FreeBSD uses it any more anyway.
2007-01-25 22:36:36 +00:00
Peter Wemm
cddf85e01e
Retire more remnants of a.out support, as threatened in 2002.
...
Laughed-at-by: kris
2007-01-25 22:25:59 +00:00
Maxim Konovalov
ba5b74d001
o Remove duplicate includes.
...
Obtained from: Slava Semushin via NetBSD
2007-01-20 08:24:02 +00:00
Warner Losh
7dcf45c07b
Remove 3rd clause, renumber, ok per email
2007-01-12 07:31:30 +00:00
Warner Losh
c879ae3536
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
Warner Losh
a7e88f95bd
band-aide until _SC_PHYS_PAGES actually is defined
2006-12-14 22:14:14 +00:00
Pawel Jakub Dawidek
93a8a97ce9
Add support for _SC_PHYS_PAGES, which is not standard, but can be found in
...
Solaris and Linux.
2006-12-14 14:32:59 +00:00
Pawel Jakub Dawidek
e5d6d64110
Document _SC_PAGESIZE. There are still 85 undocumented variables.
...
Obtained from: NetBSD
2006-12-14 14:27:15 +00:00
Diomidis Spinellis
aeecffebe5
Minor clarification.
2006-12-03 19:26:17 +00:00
Maxim Konovalov
88ce725781
o As POSIX requires confstr(3) returns zero on errors, not -1.
...
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
2006-12-03 08:22:36 +00:00
Ruslan Ermilov
e965ede2b5
More accurately document the implementation details of internal storage.
...
PR: docs/82508
2006-10-12 14:31:17 +00:00
Ruslan Ermilov
09bd310c91
Document what "msgsz" argument really denotes. [1]
...
Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).
PR: docs/101145 [1]
MFC after: 3 days
2006-10-12 11:42:41 +00:00
Kip Macy
b84c7a797c
Fix TLS on sparc64 for statically and dynamically linked binaries
...
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel
2006-10-08 02:50:34 +00:00
Tom Rhodes
0b0ea94893
getenv.3: Put "is" on a line with other words
...
getobjformat.3: "takes precedence over" is not an envrionment variable.
PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days
2006-10-07 21:27:21 +00:00
Andrey A. Chernov
f68412f927
Automatically re-stir every 400000 calls
...
Obtained from: OpenBSD
2006-10-04 01:17:23 +00:00
Ruslan Ermilov
64437d397b
Markup nit.
2006-09-29 22:57:22 +00:00
Maxim Konovalov
0ba6effc8c
o Don't fseek() on closed file.
...
Submitted by: pgollucci@p6m7g8.com , Mark Costlow
MFC after: 3 weeks
2006-09-18 09:34:48 +00:00
Ruslan Ermilov
a73a3ab56b
Markup fixes.
2006-09-17 21:27:35 +00:00
Marcel Moolenaar
9d353fbc3f
Fix style(9) in code copied from rtld.
2006-09-01 17:35:48 +00:00
Marcel Moolenaar
3614156c7d
Fix the variant I allocation for KSE: Allow a larger TCB and assume
...
that the documented TCB is at the tail of the extended TCB. In other
words, the base of the TCB has a negative offset from the TLS.
2006-09-01 06:13:16 +00:00
Maxim Konovalov
edd5ce3102
o It speaks about struct msqid_ds not struct shmid_ds.
...
PR: docs/101314
Submitted by: Vasil Dimov
MFC after: 1 week
2006-08-09 18:05:44 +00:00
Poul-Henning Kamp
5b1deb3ce8
Return length from fwopen() file callback instead of zero.
...
The symptom is that syslog() fails to log anything but the "ident"
string if LOG_PERROR is specified to openlog(3) and the extensible
printf is in action.
For unclear, likely quaint historical reasons, syslog uses fwopen()
on a stack buffer, rather than using the more straightforward
and faster snprintf().
Along the way, fflush(3) is called, and since the callback writer
function returns zero instead of the length "written", __SERR
naturally gets set on the filedescriptor.
The extensible printf, in difference from the normal printf refuses
to output anything to an __SERR marked filedescriptor, and thus
the actual syslog message is supressed.
MFC: after 2 weeks
2006-08-07 20:12:18 +00:00
Warner Losh
c40855dbed
Remove stale comment about arm
2006-07-26 16:56:56 +00:00
Maxim Konovalov
0ec15b18a2
o compat_group() and files_group() are more complicated than I thought
...
in rev. 1.34. Mainly I missed the fact that the buffer is used for two
purposes:
1) storing a group line from the group file;
2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.
Re-arrange the buffer size checks to account the latter case.
Submitted by: Kirk R Webb
MFC after: 2 weeks
2006-07-14 17:45:33 +00:00
Xin LI
1cec70ad72
- ANSIfy.
...
- Remove two unnecessary casts.
These changes would help gcc4 compile.
2006-06-05 18:22:13 +00:00
Maxim Konovalov
d230fe5161
o Record a file offset for a last successfully parsed group file line.
...
If the initial buffer size (1KB) for the given group line is not big
enough, reset the offset. It helps to do not miss this line when
getrg() reallocates the larger buffer and tries to parse the line again.
PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111
Submitted by: bsw71@mail.ru , Philip M. Gollucci, Justin Erenkrantz
Glanced at: nectar
MFC after: 1 month
2006-06-01 15:45:06 +00:00
Ruslan Ermilov
84c929db19
Fix the output.
...
Noticed by: rodrigc
2006-05-27 09:04:43 +00:00
Andrey A. Chernov
4151a8cb14
Reflect int -> size_t changes in glob.h
2006-05-22 06:53:35 +00:00
Andrey A. Chernov
4b767fa67f
Reflect size_t changes in glob.h
...
Obtained from: NetBSD (mostly)
2006-05-22 06:33:19 +00:00
Andrey A. Chernov
ba87bfdcd4
Remove the kludge, as asked in the Makefile:
...
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
Reviewed by: ume
2006-05-22 05:04:53 +00:00
David Xu
3a31b448c0
Save errno before calling pthread_mutex_lock because pthread_mutex_lock
...
may change errno unexpectly.
2006-05-11 09:10:33 +00:00
Hajimu UMEMOTO
06a99fe36f
- Extend the nsswitch to support Services, Protocols and Rpc
...
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
2006-04-28 12:03:38 +00:00
Ceri Davies
c499f23b6e
Correct usage example.
...
PR: docs/95059
Submitted by: Jos Backus
MFC after: 4 days
2006-04-18 21:37:24 +00:00
Christian Brueffer
ba1cb6f3ea
Document that VIS_CSTYLE encodes space (040) as '\s'.
...
PR: 95546
Submitted by: Jan Schaumann <jschauma@netmeister.org>
MFC after: 3 days
2006-04-09 16:39:43 +00:00
David Xu
c0d2338cdd
Allocate space for thread pointer, this allows thread library to access
...
its pointer from begin, and simplifies _get_curthread() in libthr.
2006-03-28 06:09:24 +00:00
Daniel Eischen
e6f18831f2
Make _spinunlock() point to the spinunlock stub, not the
...
spinlock stub.
2006-03-13 01:17:39 +00:00
Daniel Eischen
6fad3aaf15
Add each directory's symbol map file to SYM_MAPS.
2006-03-13 01:15:01 +00:00