| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
standard.
Requested by: bde
Notes:
svn path=/head/; revision=85671
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85636
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=85634
|
| |
|
|
|
|
|
|
|
|
| |
the C99 variable __func__ and never for C++. Provide a more meaningful
example in the assert(3) manual.
Reviewed by: asmodai, bde
Notes:
svn path=/head/; revision=85607
|
| |
|
|
|
|
|
| |
Reviewed by: asmodai, bde
Notes:
svn path=/head/; revision=85605
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=85572
|
| |
|
|
|
|
|
|
|
| |
which do not match the reality anyway.
Approved by: deischen, bde
Notes:
svn path=/head/; revision=85555
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85528
|
| |
|
|
|
|
|
| |
Reviewed by: obrien
Notes:
svn path=/head/; revision=85518
|
| |
|
|
|
|
|
| |
active.
Notes:
svn path=/head/; revision=85513
|
| |
|
|
|
|
|
|
|
| |
with <machine/asm.h>.
Reviewed by: bde
Notes:
svn path=/head/; revision=85437
|
| |
|
|
|
|
|
|
|
| |
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.
Notes:
svn path=/head/; revision=85422
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=85418
|
| |
|
|
|
|
|
|
| |
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
Notes:
svn path=/head/; revision=85396
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85394
|
| |
|
|
|
|
|
|
| |
seek. It means that beginning of read buffer becomes not the same as current
file position.
Notes:
svn path=/head/; revision=85391
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=85342
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=85338
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85308
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85229
|
| |
|
|
|
|
|
| |
Obtained from: Intel (for the divide code)
Notes:
svn path=/head/; revision=85228
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85162
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85160
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85159
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85138
|
| |
|
|
|
|
|
|
| |
If the syscall fails, fall back on the old method as a compatability
measure.
Notes:
svn path=/head/; revision=85080
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85018
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84962
|
| |
|
|
|
|
|
|
| |
PR: 31025
Submitted by: Tim Singletary <tsingle@vetinsite.com>
Notes:
svn path=/head/; revision=84942
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84922
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84888
|
| |
|
|
|
|
|
|
|
|
| |
Add a missing word. Bump document date.
Inspired by: IEEE Std 1003.1-200x (Draft 7)
MFC after: 3 days
Notes:
svn path=/head/; revision=84810
|
| |
|
|
|
|
|
| |
character. Bump document date. Add a missing comma.
Notes:
svn path=/head/; revision=84808
|
| |
|
|
|
|
|
|
|
|
|
| |
- Mention ``eaccess'' in the NAME section.
- Use intro(2) terminology.
- Markup fixes.
Reviewed by: rwatson
Notes:
svn path=/head/; revision=84805
|
| |
|
|
|
|
|
|
|
|
|
| |
Updated by peter following KSE and Giant pushdown.
I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Notes:
svn path=/head/; revision=84789
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84768
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84760
|
| |
|
|
|
|
|
| |
library.
Notes:
svn path=/head/; revision=84755
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84754
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84740
|
| |
|
|
|
|
|
| |
Requested by: brian, gad
Notes:
svn path=/head/; revision=84728
|
| |
|
|
|
|
|
|
|
| |
id cruft.
Submitted by: bde
Notes:
svn path=/head/; revision=84725
|
| |
|
|
|
|
|
|
|
|
|
| |
number of characters that are searched. This is especially useful
with file operations and non-NUL terminated strings.
Silence from: -audit, -hackers
MFC after: 5 days
Notes:
svn path=/head/; revision=84699
|
| |
|
|
|
|
|
| |
shouldn't.
Notes:
svn path=/head/; revision=84591
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84552
|
| |
|
|
|
|
|
|
| |
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
Notes:
svn path=/head/; revision=84487
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Allow the sending of more than one control message at a time
over a unix domain socket. This should cover the PR 29499.
2) This requires that unp_{ex,in}ternalize and unp_scan understand
mbufs with more than one control message at a time.
3) Internalize and externalize used to work on the mbuf in-place.
This made life quite complicated and the code for sizeof(int) <
sizeof(file *) could end up doing the wrong thing. The patch always
create a new mbuf/cluster now. This resulted in the change of the
prototype for the domain externalise function.
4) You can now send SCM_TIMESTAMP messages.
5) Always use CMSG_DATA(cm) to determine the start where the data
in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1)
in some places, which gives the wrong alignment on the alpha.
(NetBSD made this fix some time ago).
This results in an ABI change for discriptor passing and creds
passing on the alpha. (Probably on the IA64 and Spare ports too).
6) Fix userland programs to use CMSG_* macros too.
7) Be more careful about freeing mbufs containing (file *)s.
This is made possible by the prototype change of externalise.
PR: 29499
MFC after: 6 weeks
Notes:
svn path=/head/; revision=84472
|
| |
|
|
|
|
|
|
|
| |
of the new RCSID macros.
MFC after: 3 days
Notes:
svn path=/head/; revision=84437
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84426
|