| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
GCC 2.97 (snapshot) complains about this.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
backslash as a special char, but not all.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
LOG_UUCP.
PR: docs/23302
Submitted by: cshumway
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
iterating over the arguments. Doing so wipes out the value which
is about to be stored into the ps_strings structure.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
commit and use a paragraph marker (Pp) instead of a blank line.
|
|
|
|
|
|
| |
had uid, gid set to 0 if not otherwise specified!
Submitted by: eivind
|
| |
|
|
|
|
|
|
| |
1.55 when importing nsswitch from NetBSD.
Reported by: Naoki Kobayashi <shibata@geo.titech.ac.jp>
|
| |
|
|
|
|
|
| |
PR: 21990
Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
|
| |
|
|
|
|
| |
PR: docs/22374, docs/13020
|
| |
|
|
|
|
| |
undefined symbols.
|
|
|
|
| |
the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
|
|
|
|
|
| |
A missing _PATH_DEVDB ("/var/run/dev.db") is not cause for a warning
anymore, the file is effectively optional these days.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.
= Hesiod has been added to libc (see hesiod(3)).
= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).
= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr
= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
It was kinda silly since the sigaction() syscall that it used to setup
the handler is more recent than __getcwd(), therefore it was useless
as the wrapper would have died before even getting as far as __getcwd(2).
Reminded by: bde
|
| |
|
|
|
|
|
|
|
|
|
| |
and bump __FreeBSD_version to 500012 to mark the occasion.
setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.
Reviewed by: peter
|
|
|
|
|
|
|
|
| |
The man pages need some adjustments.
PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
| |
POSIX/SUSv2.
|
|
|
|
|
|
|
| |
character, skip the program name when setting the process title.
Ansified with extreme prejudice.
Reviewed by: peter
|
| |
|
|
|
|
|
|
|
| |
KERN_UPDATEINTERVAL can't be used to control sched_sync(). In
fact, there's no easy way to control the syncer with sysctls.
Reported by: bde
|
|
|
|
| |
syncer(4) manual page.
|
|
|
|
| |
(jasone@canonware.com --> jasone@freebsd.org).
|