#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
203290 |
|
31-Jan-2010 |
ed |
Perform some cleanups to devname(3).
- Make sure the mode argument is either a character or a block device. - Use S_IS*() instead of checking S_IF*-flags by hand. - Don't use kern.devname when the argument is already NODEV. - Always call snprintf with the proper amount of arguments corresponding with the format. - Perform some whitespace fixes. Tabs instead of 4 spaces, missing space for return statement. - Remove unneeded includes.
|
#
165903 |
|
08-Jan-2007 |
imp |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
#
150065 |
|
12-Sep-2005 |
stefanf |
Include a couple of headers to ensure consistency between the prototype and the function definition.
|
#
116610 |
|
20-Jun-2003 |
phk |
Add devname_r(3) which takes a buffer as argument.
|
#
115881 |
|
05-Jun-2003 |
phk |
Recognize the magic NODEV value. Format other unknown devices consistently in hex.
|
#
90039 |
|
31-Jan-2002 |
obrien |
Fix SCM ID's.
|
#
80552 |
|
29-Jul-2001 |
tmm |
Correct the old length argument passed to sysctlbyname to be a pointer to a size_t (not to an int).
MFC after: 2 days
|
#
71579 |
|
24-Jan-2001 |
deischen |
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
|
#
65955 |
|
16-Sep-2000 |
phk |
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.
|
#
65632 |
|
09-Sep-2000 |
phk |
Add code to devname(3) so it can find the names of devices which were not present when dev_mkdb(8) was run.
First the dev_mkdb(8) database is searched, this caters for non-DEVFS cases where people have renamed a device.
If that fails we ask the kernel using sysctl kern.devname if the device driver has put a name in the dev_t. This covers DEVFS cloned devices.
If that also fails we format a string which isn't entirely useless.
|
#
48882 |
|
18-Jul-1999 |
phk |
Make devname(3) return something more intelligent than NULL if it doesn't find anything in the database.
|
#
23659 |
|
11-Mar-1997 |
peter |
This commit was generated by cvs2svn to compensate for changes in r23658, which included commits to RCS files with non-trunk default branches.
|
#
23658 |
|
11-Mar-1997 |
peter |
Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|