| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
directly. Now also .Xr fseek reference.
Prodded by: sheldonh
|
|
|
|
|
| |
PR: 21428
Reviewed by: ben
|
|
|
|
|
|
| |
and clearing watchpoints.
Reviewed by: jwd@FreeBSD.org, -hackers@
|
|
|
|
| |
Pointed out by: phk
|
|
|
|
|
|
| |
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*
|
|
|
|
| |
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
o Implementations will remain in the seperately distributed capability
patch until the cap_t type changes are synchronized.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
acl_from_text.3
o Minor whitespace cleanups relative to the TrustedBSD tree to reduce
content-free differences.
Obtained from: TrustedBSD Project
|
|
|
|
| |
undefined symbols.
|
|
|
|
| |
the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
|
|
|
|
|
|
| |
was CAP_CLEAR.
Obtained from: TrustedBSD Project
|
|
|
|
|
| |
A missing _PATH_DEVDB ("/var/run/dev.db") is not cause for a warning
anymore, the file is effectively optional these days.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
PR: bin/21092
Submitted by: Alexander Kabaev <ak03@gte.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
be used to point to a bad locale file. This is only believed to be a
minor security risk - the only risk is if some program uses the result
of a localized string as a format specifier in a vulnerable function
like sprintf(). No such code is believed to exist in the FreeBSD base
system, although it is possible that badly written third party code
would do that.
Submitted by: imp
Approved by: ache
|
|
|
|
| |
Submitted by: ume
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
Found by: ache
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
library depends on other things that come *way* later than poll() now
(sigset size changes in particular)
|
|
|
|
| |
Submitted by: sheldonh
|
|
|
|
|
|
|
| |
* mdoc cleanup
* document missing errno values (ERRORS section)
Reviewed by: sheldonh
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rewrite catopen() to remove duplicate code chunks and optimize
* if empty string is passed to catopen() as name argument then
catopen() will set errno to ENOENT (File not found), not EINVAL
* move search code to LOOKUP() macro to shrink amount of duplicated code
* move common resource freeing actions to __nls_free_resources() function
* exclude from build code related to MCLoadAll defintion since it is not
using at all
* style(9) related whitespace changes
Reviewed by: ache
|
|
|
|
|
|
|
|
|
| |
in my tree for a long time. bde reviewed this once upon a time and
said it was OK, iirc. This also obviates the need to put ? in the
optstring argument to preclude the extra warning message which some
people think confuses users. When I made my getopt cleanups of a long
time ago, this was the compromise reached. I just neglected to commit
it until now.
|
|
|
|
|
|
|
| |
boolean and it is LC_ALL that's special.
Someone submitted this to me a long time ago, but I can't find the
mail now.
|
|
|
|
|
| |
the system likely won't change in the future, but the warning is a
good idea.
|
|
|
|
|
| |
read() syscalls. It not cause static binary size increasing because stdio
already picked via setlocale() called from catopen()
|
|
|
|
| |
The implementation will behave as if no library function calls strtok().
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Resort #include files
Remove SYSV compatibility chunks
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The man pages need some adjustments.
PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD
|
|
|
|
| |
cosmetique, use NULL for pointers comparison
|
| |
|
|
|
|
|
|
| |
small cleanup in nearby area:
pointer 0 -> NULL, according to manpages
hardcoded constant -> sizeof(buf)
|
|
|
|
|
|
|
|
|
| |
rmdir(2) on directories and unlink(2) otherwise. This modification,
and most of the man page update has been obtined from OpenBSD. This
was spotted by someone on a mailing lists a few months ago, but
I've lost their mail.
Reviewed by: sheldonh
|
|
|
|
|
|
| |
back out the corresponding documentation.
Noticed by: brian, ume
|