| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
intermediate directories dont exist. (eg: when building standalone
includes, using the beforeinstall target in src/lib)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and/or libgnumalloc on anything but i386. The other platforms
post-date this mistake.
Do not build libc_r for ia64. There are some fundamental issues that
need to be resolved (ie: it cannot use setjmp/longjmp for thread
switching, which isn't likely to be fixed soon. libc_r has to be
reimplemented using something like makecontext()/swapcontext() etc
in order to work in ia64.)
|
|
|
|
| |
exist for the rm -f of libresolv.a
|
|
|
|
| |
dont exist. IMHO, this is kinda silly.
|
|
|
|
|
|
|
|
| |
If zero bytes are allocated, return pointer to the middle of page-zero
(which is protected) so that the program will crash if it dereferences
this illgotten pointer.
Inspired & Urged by: Theo de Raadt <deraadt@cvs.openbsd.org>
|
|
|
|
| |
this function.
|
|
|
|
|
| |
by asking some things that need unpredictable numbers to read
/dev/random instead.
|
|
|
|
|
|
|
| |
ia64 *.S files in our tree (eg: locore.s). Put the rest of the args
in the .section lines.
Reviewed by: dfr
|
|
|
|
|
|
| |
in 2.11.2, so use a relocatable method of calculating gp.
Reviewed by: dfr
|
|
|
|
|
|
| |
standard.
Requested by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
serve two purposes: (1) so we can maintain backwards compatibility with
protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or
assume sizeof(time_t) == sizeof(int), or make other similar assumptions.
(2) To tag such routines (by the presence of these calls) for future
cleanup/extension work.
The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is),
is defined specifically to implement temporal locality to properly set the
msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality
code has not been implemented yet (and doesn't need to be for a while),
but that is the intent. This will allow us to maintain backwards protocol
compatibility past 2038.
These routines are intended to be platform and time_t agnostic.
MFC after: 1 week
|
|
|
|
| |
by the ELF ABI.
|
|
|
|
|
|
|
| |
the C99 variable __func__ and never for C++. Provide a more meaningful
example in the assert(3) manual.
Reviewed by: asmodai, bde
|
|
|
|
| |
Reviewed by: asmodai, bde
|
|
|
|
| |
linking only. They may require some gp relative tweaks for dynamic use.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
GCC cpp liked that.
Properly include the branding info.
|
|
|
|
|
|
| |
since that is what we use now and this insulates us from any time_t
tweaks here. We can define a record format that uses 64 bit times if/when
we need to.
|
|
|
|
| |
the #include "DEFS.h" that was only used on i386 (which has been fixed).
|
|
|
|
|
|
|
| |
kernel #defines to figure out where the stack is located. This stops
libc_r from exploding when the kernel is compiled with a different
KVM size. IMHO this is all kinda bogus, it would be better to just
check %esp and work from that.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- uthread_signal.c; libc_r does not wrap signal() since 1998/04/29.
- uthread_attr_setprio.c; it was never connected to the build, and
pthread_attr_setprio() does not exist in POSIX.
- uthread_sigblock.c and uthread_sigsetmask.c; these were no-ops
bloating libc_r's space.
pthread_private.h:
- Removed prototypes of non-syscalls: send().
- Removed prototypes of unused syscalls: sigpending(), sigsuspend(),
and select().
- Fixed prototype of fork().
- MFS: Fixed prototypes of <sys/socket.h> syscalls.
Reviewed by: deischen
Approved by: deischen, jasone
|
|
|
|
|
|
| |
which do not match the reality anyway.
Approved by: deischen, bde
|
| |
|
| |
|
|
|
|
| |
from the "common" directory.
|
|
|
|
| |
Reviewed by: obrien
|
|
|
|
| |
active.
|
|
|
|
|
|
| |
makes FreeBSD inconsistent with previous releases and "other unices" as well
as with some internal password-asking services (e.g. ftp) within the same
release.
|
|
|
|
| |
untested - it only seems to be used for crashdumps.
|
|
|
|
|
|
|
| |
value could be returned when the debug level was non-zero.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days
|
| |
|
|
|
|
|
|
| |
with <machine/asm.h>.
Reviewed by: bde
|
|
|
|
|
| |
Change __assert() function to print failing function name.
This makes us C99 conforming.
|
|
|
|
|
|
| |
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.
|
|
|
|
|
| |
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
|
|
|
|
|
| |
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
|
| |
|
|
|
|
|
| |
seek. It means that beginning of read buffer becomes not the same as current
file position.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
using rcmd directly. This has been in my tree for a long time, but we
may need to sync with OpenBSD before MFC.
Obtained from: openbsd
PR: 15830
MFC after: 2 months
|
|
|
|
|
|
|
| |
manual page), fix capitalization, and remove chflags reference from
SEE ALSO since the only time it's referenced is with an .Xr, anyway.
Submitted by: bde
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In libc_r, if _FDLOCKS_ENABLED is not defined, there is no guarantee
in many of the sycall wrappers that _thread_fd_table[fd] is
initialized. This causes problems for programs that pass in file
descriptors and execve() another program; when the exec'ed program
tries to do an fcntl() or other syscall on the passed-in fd, it fails.
Add calls to initialize the FD table entry for _thread_fd_lock and
_thread_fd_lock_debug.
Submitted by: Peter S. Housel <housel@acm.org>
|
| |
|