summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use the real function address (instead of function address + 8) for thedeischen2001-12-223-6/+6
| | | | | | | | | return address when modifying a jmp_buf to create a new thread context. Also set t12 with the return address. This should fix libc_r on alpha. With much detective work by: Bernd Walter <ticso@cicely.de>
* Save and restore t12 in the jmp_buf. t12 is used during functiondeischen2001-12-222-0/+3
| | | | | | | | | calls. This change allows libc_r to create thread contexts with a different stack and return address. With much detective work by: Bernd Walter <ticso@cicely.de>
* add missing MLINKSphantom2001-12-211-1/+10
|
* The VM_STACK option is long dead. MAP_STACK is available everywhere.peter2001-12-211-12/+0
|
* Slightly re-work locale messages storage scheme. Before this commitphantom2001-12-211-1/+1
| | | | | | | | | | | LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file. Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES directory is supposed to be storage of message catalogs of userland tools. This should allow us to avoid many potential problems with future libintl related functionality introduction. Thanks for useful suggestions about correct way how to replace plain files with directories at installworld stage to: Ruslan Ermilov <ru>
* style(9)'ifyphantom2001-12-207-73/+77
|
* Supply SMB_CFG_FILE in CFLAGS. The newly imported smbfs-1.4.2sheldonh2001-12-201-1/+1
| | | | | | allows us to supply our own value for this, overriding the default /usr/local/etc/nsmb.conf, which is not appropriate for base system configuration files.
* Add my e-mail to copyrightsphantom2001-12-202-2/+2
|
* Document that rfork() will return EINVAL if flags not listed in thejhb2001-12-191-0/+2
| | | | manpage are passed in.
* Fixed the bug in transparent TCP proxying with the "encode_ip_hdr"ru2001-12-181-1/+3
| | | | | | option -- TcpAliasOut() did not catch the IP header length change. Submitted by: Stepachev Andrey <aka50@mail.ru>
* Fix the retrieval of USRSTACK via sysctl so that it works for 64-bitdeischen2001-12-183-6/+6
| | | | | | archs. This should fix libc_r on alpha. Submitted by: Bernd Walter <ticso@cicely9.cicely.de>
* Const'ify the CDB format string passed to the CDB parsing routineskbyanc2001-12-183-43/+62
| | | | | | (csio_decode_visit() and family). Reviewed by: ken
* Fix some style bugsphantom2001-12-171-15/+18
| | | | Prompted by: mike
* When cancelling a thread while in a join operation, do not detachdeischen2001-12-163-12/+3
| | | | | | | | the target thread of the join operation. This allows the cancelled thread to detach the target thread in its cancellation handler. This bug was found by Butenhof's cancel_subcontract test. Reviewed by: jasone
* Embelish CFLAGS.obrien2001-12-151-1/+2
|
* The instructions on doing something with src/lib/csu/sparc64.obrien2001-12-151-0/+25
|
* Sparc64 ELF version of the C runtime support.obrien2001-12-151-0/+128
| | | | | | | It tries to comply with the SCD 2.4.1 (and thus Sparc 64-bit psABI). This is an amalgamation of the FreeBSD Alpha crt1.c and the BSD/OS Sparc crt0.c (which the copyright reflects).
* Pull the target thread of a join operation from the correct placedeischen2001-12-153-9/+12
| | | | when cancelling a thread.
* clnt_bcast.c:420:33: warning: extra tokens at end of #endif directivepeter2001-12-151-1/+1
|
* Kernel support for smbfs is only built on the i386 at the moment, sosheldonh2001-12-141-1/+2
| | | | | | | limit the building and installation of the userland utilities to that architecture for now. Reported by: bmah
* mdoc(7) police: bump document date.ru2001-12-141-1/+1
|
* Add bmake glue for src/contrib/smbfs and connect userland smbfssheldonh2001-12-142-1/+20
| | | | | | | | | | support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
* * cleanup comments and definesphantom2001-12-141-8/+1
| | | | Reviewed by: bde
* Also fix cases when thousands separator should be put before number. Forphantom2001-12-131-2/+4
| | | | | example before for grouping sequence "\003\003" number 123456 was formated as ",123,456", now "123,456".
* Respect locale while handling of \' flag.phantom2001-12-131-22/+63
| | | | | | | | | | In original version grouping was hardcoded. It assumed that thousands separator should be inserted to separate each 3 numbers. I.e. grouping string "\003" was assumed for all cases. In correct case (per POSIX) vfprintf should respect locale defined non-monetary (LC_NUMERIC category) grouping sequence. Also simplify thousands_sep handling.
* Fix style bugs (mostly remove 'extern' from function prototypes)phantom2001-12-132-202/+206
| | | | Inspired by: conversation with bde
* * remove reference to m68k-dependent sourcesphantom2001-12-131-7/+1
| | | | * fix comment
* If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP.ru2001-12-131-2/+2
| | | | | PR: docs/32793 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
* s/crypt_format/crypt_default/ to match reality.ru2001-12-131-1/+1
| | | | | PR: docs/32787 Spotted by: Pete Carah <pete@altadena.net>
* mdoc(7) police: minor markup nits.ru2001-12-121-20/+20
|
* mdoc(7) police: fix markup, bump document date.ru2001-12-122-30/+38
|
* mdoc(7) police: kill HSBs, add missing comma.ru2001-12-121-8/+13
|
* mdoc(7) police: fix markup.ru2001-12-121-13/+17
|
* mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34.ru2001-12-121-57/+67
|
* mdoc(7) police: use no-break space.ru2001-12-121-1/+3
|
* mdoc(7) police: use no-break space, fix markup.ru2001-12-121-1/+2
|
* mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup.ru2001-12-121-1/+3
|
* Fix a number of subtle and evil bugs in the libc_r wrapping of sendfile(2).alfred2001-12-121-4/+50
| | | | | | | | | | | | | | | | | | | | | | o) Since we unwrap the sendfile syscall, check the return value of writev(2) to see if it didn't complete all the data. Previously if only a partial writev() succeeded, it would proceed to sendfile(2) even though the headers weren't completely sent. o) Properly adjust the "bytes to send" to take into account sendfile(2)'s behaviour of counting the headers against the bytes to be transfered from the file. o) Correct the problem where EAGAIN was being returned from _sys_sendfile(2) however the wrapper didn't update the 'sent bytes' parameter to take into account for it. This is because sendfile can return EAGAIN even though it has actually transfered data. Special thanks to Justin Erenkrantz <jerenkrantz@apache.org> for bringing this to my attention and giving an excellent way to reproduce the problem. PR: kern/32684 MFC After: 1 week
* Add my e-mail to copyrightsphantom2001-12-112-2/+2
|
* * Add my e-mail to copyrightsphantom2001-12-1110-52/+57
| | | | * style(9)'ify
* Fix grouping string handlingphantom2001-12-111-1/+4
|
* We support writing to at least one filesystem now.jhb2001-12-111-1/+1
| | | | | | PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Add support for overwriting the existing contents of a file to the UFSjhb2001-12-111-4/+119
| | | | | | | | | driver in libstand. This specifically does not expand or truncate files since the filesystem may be dirty or inconsistent. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Add auto-fill-on-delete. When deleting an 'A'uto created partitiondillon2001-12-092-17/+38
| | | | | | | | | | | | | | | | sysinstall will automatically expand the previous partition to take up the freed up space. So you can 'D'elete /home and /usr will get the combined space, or you can 'D'elete /tmp and /var will get the combined space. This gives the user, developer, or lay person a huge amount of flexibility in constructing partitions from an 'A'uto base. It takes only 3 or 4 keystrokes to achieve virtually any combination of having or not having a /tmp and/or /home after doing an 'A'uto create. Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should be less controversial. MFC after: 6 days
* Back out previous commit.des2001-12-091-2/+1
| | | | Requested by: ru
* Don't build with NDEBUG.des2001-12-091-3/+0
| | | | | PR: bin/32615 MFC after: 1 week
* Conditionalize some debugging code that didn't use the DEBUG macro.des2001-12-091-8/+10
| | | | MFC after: 1 week
* Introduce a fetchDebug global. Change the DEBUG macro so it only runs thedes2001-12-093-1/+5
| | | | | | | debugging code if fetchDebug is set. PR: bin/32615 MFC after: 1 week
* Start using .St macro for POSIX.1-2001.ru2001-12-082-4/+3
|
OpenPOWER on IntegriCloud