| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
suitable for holding object pointers (ptrint_t -> uintptr_t).
Added corresponding signed type (intptr_t). Changed/added
corresponding non-C9x types for function pointers to match. Don't
use nonstandard types to implement these types, and don't comment
on them in <machine/types.h>.
|
|
|
|
|
| |
!KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't
sufficient because fptrint_t is used in <sys/gmon.h>.
|
|
|
|
|
|
|
|
|
|
| |
least unsuitable for holding an object pointer. This should have been
used to fix warnings about casts between pointers and ints on alphas.
Moved corresponding existing general typedef (fptrint_t) for function
pointers from the i386 <machine/profile.h> to a kernel-only typedef
in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can
still see this typedef.
|
|
|
|
| |
PR: 7180
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
Obtained from: NetBSD (author: Klaus Klein)
|
| |
| |
| |
| |
| |
| |
| |
| | |
more cleanly integrated with stdio. This should be faster and cleaner
since it doesn't memcpy() the data into a seperate buffer. This lets
stdio allocate and manage the buffer and then hand it over to the user.
Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD
|
| |
| |
| |
| |
| |
| |
| |
| | |
references sp. The free needs to follow ISSET
PR: 7148
Reviewed by: phk
Submitted by: Ken Mayer <kmayer@freegate.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
compatible. I think small negative uids are handled compatibly but
other out of bounds ones are truncated differently for certain sizes of
uid_t.
|
| |
| |
| |
| |
| |
| | |
Obtained from: partial merge of ADO version tzcode96h (was fully merged
in 1.10 but backed out in 1.11; the FreeBSD code for %s
was earlier, prettier but buggier).
|
| |
| |
| |
| |
| |
| | |
PR: 7009
Obtained from: http://www.sleepycat.com/update/patch.185.html, patches 1.2,
1.3 and 1.4
|
| |
| |
| |
| | |
errno during a successful malloc() call.
|
| |
| |
| |
| |
| | |
so much a "fix", rather a bandaid to buy time to fix it properly
within the thread engine.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
getXXXXbyYYYY() interfaces yet.
Obtained from: diff relative to bind-8.1.2 sources
|
| |
| |
| |
| |
| |
| | |
friend shmget().
PR: closes misc/6763
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
copy to bring these files into libc from libcompat. I will enable
them and kill off the libcompat versions on the main branch soon.
PR: step one toward closing misc/6763
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
to destroy the RPC CLIENT handle before returning.
|
| | |
|
| | |
|
| |
| |
| |
| | |
to avoid recursive locking.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Simplify the atomic lock prototype, removing the lock value.
Delete the unlock prototypes that are not required.
|
| |
| |
| |
| |
| |
| | |
Also be consistent about usage of #if ...
Pointed out by: bde
|
| |
| |
| |
| |
| | |
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
|
| |
| |
| |
| | |
Pointed out by: Sue Blake <sue@welearn.com.au>
|
| |
| |
| |
| |
| |
| | |
Misc. cleanup
PR: 6825
Submitted by: Sergey Gershtein <sg@mplik.ru>
|
| | |
|
| |
| |
| |
| |
| | |
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
|
| |
| |
| |
| |
| | |
PR: 4043
Submitted by: Joe Orthoefer <j_orthoefer@tia.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
available and the kernel MIB setting is zero.
Return the result from getpagesize() if the p1003_1b.pagesize MIB
value is zero.
Suggested by: Joerg Schilling <schilling@fokus.gmd.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
parameter is optional except where:
cmd == {IPC_SET || IPC_STAT || GETALL || SETVAL || SETALL}
PR: 2448
Reviewed by: bde
Submitted by: Tim Singletary <tsingle@sunland.gsfc.nasa.gov>
Minor tweaks by: steve
|
| |
| |
| |
| |
| |
| | |
as it has its own manpage.
Discussed with: bde
|
| |
| |
| |
| |
| |
| | |
slipped in on the previous commit.
Submitted by: bde
|
| | |
|
| |
| |
| |
| |
| | |
also exists here (the timeout can expire much sooner than it's supposed
to).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
size we receive here should fit into the receive buffer. Unfortunately,
there's no 100% foolproof way to distinguish a ridiculously large record
size that a client actually meant to send us from a ridiculously large
record size that was sent as a spoof attempt.
The one value that we can positively identify as bogus is zero. A
zero-sized record makes absolutely no sense, and sending an endless
supply of zeroes will cause the server to loop forever trying to
fill its receive buffer.
Note that the changes made to readtcp() make it okay to revert this
sanity test since the deadlock case where a client can keep the server
occupied forever in the readtcp() select() loop can't happen anymore.
This solution is not ideal, but is relatively easy to implement. The
ideal solution would be to re-arrange the way dispatching is handled
so that the select() loop in readtcp() can be eliminated, but this is
difficult to implement. I do plan to implement the complete solution
eventually but in the meantime I don't want to leave the RPC library
totally vulnerable.
That you very much Sun, may I have another.
|
| | |
|