Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only provide function information in compile environments that support | mike | 2001-10-27 | 1 | -5/+10 |
| | | | | | | | the C99 variable __func__ and never for C++. Provide a more meaningful example in the assert(3) manual. Reviewed by: asmodai, bde | ||||
* | Restore K&R prototype. Fix other style bugs. | mike | 2001-10-27 | 1 | -2/+3 |
| | | | | Reviewed by: asmodai, bde | ||||
* | Explicitly use int32_t for on-disk records for pw_change and pw_expire, | peter | 2001-10-27 | 1 | -2/+5 |
| | | | | | | 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. | ||||
* | Remove the internal implementation details of wrapping syscalls, | ru | 2001-10-26 | 19 | -505/+0 |
| | | | | | | which do not match the reality anyway. Approved by: deischen, bde | ||||
* | Compensate for the way that _setjmp aligns the start of jmp_buf. | dfr | 2001-10-26 | 2 | -5/+23 |
| | |||||
* | Minimal libc for sparc64. | jake | 2001-10-26 | 19 | -0/+874 |
| | | | | Reviewed by: obrien | ||||
* | In > LONG_MAX test use sseek return value and not _offset which can be not | ache | 2001-10-25 | 1 | -3/+4 |
| | | | | active. | ||||
* | De-orbit DEFS.h - the other arches do not use it, and it got replaced | peter | 2001-10-24 | 42 | -82/+35 |
| | | | | | | with <machine/asm.h>. Reviewed by: bde | ||||
* | Add __FBSDID. | asmodai | 2001-10-24 | 1 | -5/+10 |
| | | | | | | Change __assert() function to print failing function name. #if 0 the sccsid block. This makes us C99 conforming. | ||||
* | Help to recover from bad seek (i.e. negative or too big) happens beyond | ache | 2001-10-24 | 2 | -5/+12 |
| | | | | | 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. | ||||
* | Back out read buffer invalidating via __SMOD. | ache | 2001-10-23 | 2 | -7/+2 |
| | | | | | It was correct, but not needed because internal buffer cleared on each seek outside of it. | ||||
* | Change comment explaining another usage of __SMOD | ache | 2001-10-23 | 1 | -2/+2 |
| | |||||
* | Disallow fseek() optimization in internal read buffer, if pointer is moved by | ache | 2001-10-23 | 1 | -0/+5 |
| | | | | | seek. It means that beginning of read buffer becomes not the same as current file position. | ||||
* | Allow users to specify a command to use as remote command instead of | imp | 2001-10-23 | 4 | -6/+257 |
| | | | | | | | | | | 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 | ||||
* | Refer to chflags(2) instead of chflags(1) (since we're a section 2 | dd | 2001-10-23 | 1 | -3/+2 |
| | | | | | | | 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 | ||||
* | Fix WAW dependency. p6 is written in the syscall epilogue. | peter | 2001-10-22 | 1 | -0/+1 |
| | |||||
* | Fix a few more dependancy violations. | dfr | 2001-10-22 | 1 | -3/+3 |
| | |||||
* | Implement setjmp, longjmp, sigsetjmp and siglongjmp. | dfr | 2001-10-20 | 3 | -104/+53 |
| | |||||
* | Add __divdf3(), __divsf3() and __infinity[]. | dfr | 2001-10-20 | 4 | -1/+296 |
| | | | | Obtained from: Intel (for the divide code) | ||||
* | mdoc(7) police: join OS version with the corresponding macro. | ru | 2001-10-19 | 1 | -2/+2 |
| | |||||
* | Just use RSYSCALL. | ru | 2001-10-19 | 2 | -4/+2 |
| | |||||
* | signanosleep(2) hasn't existed since 1998. | ru | 2001-10-19 | 2 | -2/+0 |
| | |||||
* | s/kernal/kernel | alfred | 2001-10-19 | 2 | -2/+2 |
| | |||||
* | Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index. | jlemon | 2001-10-17 | 1 | -2/+22 |
| | | | | | If the syscall fails, fall back on the old method as a compatability measure. | ||||
* | Fix reference to aio_read, should be aio_write | alfred | 2001-10-16 | 1 | -1/+1 |
| | |||||
* | Fixed style bugs in previous commit. | bde | 2001-10-15 | 1 | -15/+15 |
| | |||||
* | link(2) may fail with EPERM if name1 is immutable or append-only. | dd | 2001-10-14 | 1 | -1/+4 |
| | | | | | PR: 31025 Submitted by: Tim Singletary <tsingle@vetinsite.com> | ||||
* | Make this compile on ia64. | dfr | 2001-10-14 | 1 | -25/+46 |
| | |||||
* | Add warning about zeroing-out the socket structure before populating it. | dillon | 2001-10-13 | 1 | -0/+4 |
| | |||||
* | Note that strncmp() will not compare characters after a NUL character. | mike | 2001-10-11 | 1 | -1/+8 |
| | | | | | | | Add a missing word. Bump document date. Inspired by: IEEE Std 1003.1-200x (Draft 7) MFC after: 3 days | ||||
* | Clarify that strnstr() will stop searching after in encounters a NUL | mike | 2001-10-11 | 1 | -5/+8 |
| | | | | character. Bump document date. Add a missing comma. | ||||
* | - Bump document date for eaccess(2) addition. | ru | 2001-10-11 | 1 | -27/+35 |
| | | | | | | | | - Mention ``eaccess'' in the NAME section. - Use intro(2) terminology. - Markup fixes. Reviewed by: rwatson | ||||
* | Fix SysV Semaphore Handling. | mr | 2001-10-11 | 2 | -27/+124 |
| | | | | | | | | 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> | ||||
* | Compensate for "Compensate for header dethreading" by backing it out. | bde | 2001-10-10 | 5 | -10/+0 |
| | |||||
* | getnetbyaddr() should be serviced by the "networks" database. | ru | 2001-10-10 | 1 | -1/+1 |
| | |||||
* | Adjust so that we don't use relocations which can't exist in a shared | dfr | 2001-10-10 | 4 | -5/+10 |
| | | | | library. | ||||
* | Shorter versions of the byte swapping code. | dfr | 2001-10-10 | 2 | -15/+7 |
| | |||||
* | Implement strcasestr() which many others (f.e. Linux) already have. | ache | 2001-10-10 | 3 | -2/+79 |
| | |||||
* | Document the fact that the strnstr(3) function is not portable. | mike | 2001-10-09 | 1 | -0/+5 |
| | | | | Requested by: brian, gad | ||||
* | Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendor | mike | 2001-10-09 | 1 | -1/+6 |
| | | | | | | id cruft. Submitted by: bde | ||||
* | Add a new libc function, strnstr(3), which allows one to limit the | mike | 2001-10-09 | 3 | -11/+122 |
| | | | | | | | | 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 | ||||
* | Make this work on ia64. I have no idea why it works on alpha - it | dfr | 2001-10-06 | 1 | -1/+7 |
| | | | | shouldn't. | ||||
* | Fix a load of dependancy violations. | dfr | 2001-10-05 | 2 | -7/+7 |
| | |||||
* | Add compatibility functions for the AF_LOCAL RPC transport stuff | wpaul | 2001-10-04 | 3 | -0/+235 |
| | | | | | that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp. | ||||
* | Hopefully improve control message passing over Unix domain sockets. | dwmalone | 2001-10-04 | 2 | -14/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Include <string.h> to prototype strcpy(3). While I'm here, make use | mike | 2001-10-04 | 1 | -3/+4 |
| | | | | | | of the new RCSID macros. MFC after: 3 days | ||||
* | Fixed various type errors in synopsis. | bde | 2001-10-03 | 1 | -7/+7 |
| | |||||
* | Fixed bitrot in synopsis. The TI-RPC changes gave mounds of it, mainly | bde | 2001-10-03 | 10 | -31/+33 |
| | | | | | inconsistently weird const poisoning in the man pages relative to the headers. | ||||
* | Fixed missing `const' in synopsis. | bde | 2001-10-03 | 1 | -1/+1 |
| | |||||
* | Fixed return type in synopsis. | bde | 2001-10-03 | 1 | -1/+1 |
| |