| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Closes PR docs/3612.
Submitted by: Josh Gilliam <soil@quick.net>
|
|
|
|
|
|
|
| |
visible type names in prototypes in user space headers. libutil.h
generates warnings with -Wall over the use of "const char *ttyname".
It's lucky it wasn't a #define conflict.
Is a single '_' prefix acceptable? or does it need to be two?
|
|
|
|
|
| |
This appears to appease Apache, although depending on having sleep(3)
changing the SIGALRM handler is a bit bogus.
|
|
|
|
|
|
|
| |
PR:
Reviewed by:
Submitted by:
Obtained from:
|
|
|
|
|
|
| |
value, it appears as though the semantics of usleep are that it doesn't
return early. (only in the nanosleep code - the setitimer code does this
already)
|
| |
|
|
|
|
|
| |
the backend of sleep(3) and usleep(3). It's off by default until the
problem is fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(nanosleep) breaks Apache httpd badly: his childs died quickly after
number of requests (SIGPIPE). To reproduce this bug start
gdb /usr/local/sbin/httpd
run -X
and make some bunch of concurent requests (load the server pages
from 3 different places f.e.)
After short time httpd dies via SIGPIPE. It never dies with old sleep.c
In real life it looks like lots of broken images on the pages or missing
pages. Lynx says about Network read error, etc.
It seems something wrong in nanosleep signal handling.
|
|
|
|
| |
disqualified.
|
|
|
|
| |
POSIX, C locale definition, see LC_CTYPE pre-defined table there
|
|
|
|
|
| |
PR: 3494
Submitted by: Steve Bauer <sbauer@rock.sdsmt.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
back as designed in *BSD
Also it not violates current standards but
1) No other Unixes have this feature
2) It broke Kerberos5 (isprint) and God knows what else
(not all vendors will agree to treat FreeBSD as special case for support
since (1))
2) Give false localization sense (programs mimic to be 8859-1
localized) which prevents true localization.
|
|
|
|
|
|
|
|
| |
bumped only 0.1 or 1.0 between releases. (See handbook.)
Note that if you have built world in -current in the last 48 hours or
so, you should manually remove /usr/lib/libutil.so.2.3 before
rebuilding world to cleanse your system.
|
| |
|
|
|
|
| |
Obtained from: NetBSD (I think jtc@netbsd.org wrote it)
|
|
|
|
| |
Obtained from: kstailey@openbsd.org via OpenBSD sources
|
|
|
|
| |
Suggested by: joerg
|
|
|
|
| |
version.
|
| |
|
| |
|
|
|
|
| |
syscall functions.
|
| |
|
|
|
|
| |
Suggested by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Incorporated BSDI code and enhancements, better logging for error
checking (which has been shown to be a problem, and is therefore
justified, imho); also some minor things we were missing, including
better quad_t math, which checks for under/overflows.
o setusercontext() now allows user resource limit overrides, but
does this AFTER dropping root privs, to restrict the user to
droping hard limits and set soft limits within the kernel's
allowed user limits.
o umask() only set once, and only if requested.
o add _secure_path(), and use in login.conf to guard against
symlinks etc. and non-root owned or non-user owned files being
used. Derived from BSDI contributed code.
o revamped authentication code to BSDI's latest api, which
includes deleting authenticate() and adding auth_check()
and a few other functions. This is still marked as depecated
in BSDI, but is included for completeness. No other source
in the tree uses this anyway, so it is now bracketed with
#ifdef LOGIN_CAP_AUTH which is by default not defined. Only
auth_checknologin() and auth_cat() are actually used in
module login_auth.c.
o AUTH_NONE definition removed (collided with other includes
in the tree). [bde]
o BSDI's login_getclass() now accepts a char *classname
parameter rather than struct passwd *pwd. We now do likewise,
but added login_getpwclass() for (sort of) backwards
compatiblity, namely because we handle root as a special
case for the default class. This will require quite a few
changes elsewhere in the source tree.
o We no longer pretend to support rlim_t as a long type.
o Revised code formatting to be more bsd-ish style.
|
|
|
|
| |
related files.
|
| |
|
|
|
|
|
|
| |
Plug failure memory leaks
Use issetugid now
PR: 3492
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
int's to gid_t and uid_t - should I commit these, too?
Closes PR misc/2625.
Submitted by: Julian Assange <proff@iq.org>
|
|
|
|
|
| |
Don't merge this into -2.2 unless you understand the dependencies on
c++rt0, bsd.lib.mk, and gcc -shared. I.e., let me do it.
|
|
|
|
| |
Submitted by: Nadav Eiron <nadav@barcode.co.il>
|
|
|
|
| |
aware. This simplifies things for libc_r.
|
|
|
|
| |
Added Id strings too. It's useful to know who last made a change.
|
|
|
|
|
|
|
|
|
|
| |
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
|
|
|
|
| |
to turn off the build.
|
| |
|
|
|
|
|
|
| |
code for.
Obtained from: a slightly different fix in NetBSD
|
|
|
|
|
| |
be up-to-date when we are building.
Submitted by: Terry Lambert <terry@lambert.org>
|
|
|
|
|
|
| |
and FNM_LEADING_DIR were specified and the pattern ended with "*".
Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v".
This should match, but did not.
|
|
|
|
|
| |
PR: #3178
Submitted by: Josh Gilliam <soil@quick.net>
|
| |
|
|
|
|
|
| |
directory.
Reviewed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- dependencies actually work (I need this to propagate some fixes
in <machine/asm.h>)
- the cpp pipeline goes away, so errors can't leak out of it and
an ANSI cpp is automatically used.
- it's simpler - standard rules get used instead of repetitive
special rules. (This showed bugs in the strip steps in the
standard rules. The wrong strip flag was also used for *.po
here.)
Removed some ${ECHO}s and `@'s. Normal make echoing of what is
being done is now not much more verbose than the echo messages
were, and is more useful.
|
|
|
|
| |
case.
|
|
|
|
| |
Submitted by: Bruce Evans <bde@freebsd.org>
|
|
|
|
|
|
|
| |
the (buggy) support for alternative entry points. ALTENTRY() was only
used for memmove(). Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
the (buggy) support for alternative entry points. ALTENTRY() was only
used for memmove(). Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use a slightly less bogus copyright. This file was never contributed
to Berkeley. It still claims to be copright by the Regents.
- use <machine/asm.h> instead of "DEFS.h".
- use RCSID($Id$) instead of explicit assembly code and messy ifdefs.
The rcsid won't be put into the object file until we make RCSID()
non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS
instead, but I want RCSID() to be controlled directly by LIBC_RCS
(actually by LIB_RCS). This is the only difference with the NetBSD
version.
- added ifdefs to support generation of memcpy() and memmove(). The
other changes are "while I'm here" to get this.
- improved style of the copy backwards case.
|