summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Generate the normal asm stubs for all sysv system calls. Use these insteadjake2002-05-237-33/+18
| | | | | | | of C wrappers for the *sys indirect system calls. The indirect system calls are horribly broken on sparc64. Submitted by: tmm
* Avoid wandering over the beginning of the actual bufferrobert2002-05-231-1/+1
| | | | | | | if the passed template string contains only 'X' characters. Submitted by: Mark Andrews <marka@isc.org> (patch modified) PR: 38402
* Let this code know about PowerPC.benno2002-05-211-1/+1
|
* Update the EINVAL description again - it turns out that EINVALroam2002-05-171-3/+4
| | | | | | | | | may be returned by Q_SETQUOTA as well as the originally listed Q_GETQUOTA. Noticed by: dd Approved by: silence from dd MFC after: 3 days
* _C_LABEL -> CNAMEbenno2002-05-171-14/+14
| | | | Forgotten by: benno
* Flesh this out, based on the NetBSD version.benno2002-05-171-10/+41
| | | | Reviewed by: obrien
* Grow RSYSCALL.obrien2002-05-151-0/+4
|
* Our default syscall.S is identical to what was explicitly being done forobrien2002-05-154-67/+2
| | | | Alpha and IA-64. So there is no need for special handling.
* Blah, fix stupid syntax error.obrien2002-05-151-1/+1
| | | | (where's the hat?)
* host-network order conversion routines.obrien2002-05-155-0/+158
| | | | Luckily we are network order, so there is little to be done. :-)
* PowerPC does not have profile support yet.obrien2002-05-151-0/+2
|
* Beginnings of syscall bits for PowerPC. These are no doubtedly wrong,obrien2002-05-151-0/+43
| | | | | | but it gets the build father and is in the right direction. Partially obtained from: NetBSD
* Clarify that the value of getc() etc. is an unsigned char convertedfanf2002-05-151-0/+4
| | | | | | | | to an int (as per the C standard) i.e. it can be passed straight to isalpha() etc. Approved by: dwmalone (mentor) MFC after: 3 days
* Document Q_GETQUOTA returning EINVAL when quotas are not enabledroam2002-05-141-0/+4
| | | | | | | | | on the filesystem. PR: doc/37839 Submitted by: "Michael R. Wayne" <wayne@staff.msen.com> Approved by: silence on -doc MFC after: 3 days
* Use the right byte order for unaligned stores. <blush>.jake2002-05-131-1/+1
|
* Handle alignment fault fixups in libc rather than in the kernel.jake2002-05-135-2/+120
|
* Retire the bogus uses of the disklabel field d_sbsize and begin tophk2002-05-121-3/+1
| | | | | | | initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs.
* s/demon/daemon/dd2002-05-121-1/+1
|
* Document that <netinet/in.h> can also provide prototypes. Changemike2002-05-111-2/+6
| | | | wording related to standards conformance.
* Add a support macro to convert the 5-bit packed register field ofjake2002-05-113-66/+90
| | | | | | | | | | | | | | a floating point instruction into a 6-bit register number for double and quad arguments. Make use of the new INSFPdq_RN macro where apporpriate; this is required for correctly handling the "high" fp registers (>= %f32). Fix a number of bugs related to the handling of the high registers which were caused by using __fpu_[gs]etreg() where __fpu_[gs]etreg64() should be used (the former can only access the low, single-precision, registers). Submitted by: tmm
* Avoid casting a different sized integer to a pointer on LP64 systems.peter2002-05-101-1/+1
|
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-1/+1
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Some updates to mention accept filters and howsilby2002-05-082-2/+33
| | | | | | listen queues work in a syncache world. MFC after: 3 days
* Fix bug that causes passwd and friends to fail when the user has a '+' indes2002-05-071-0/+3
| | | | | | their passwd file for NIS because _PWF_SOURCE is not set. Submitted by: amigus (perforce change 10969)
* Use __FBSDIDobrien2002-05-061-2/+3
|
* We typically don't add trailing /'s.obrien2002-05-061-1/+1
|
* Document the lchflags(2) syscall.mux2002-05-052-1/+14
|
* Fix fd leak. Threads people: does the call above to `access' need to bewollman2002-05-031-1/+3
| | | | | | | underscored as well? PR: 37717 Submitted by: fred@clift.org (slightly modified by me)
* Add an alternate signal trampoline to libc; add a wrapper for the sigtrampjake2002-04-294-2/+96
| | | | | | | install sysarch, to be called from _start. This will allow the stack to be mapped non-executable, as required by the sparc v9 abi.
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-2815-117/+122
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Add code to emulate arithmetic, comparison and conversion operationsjake2002-04-282-1/+136
| | | | | | | | | | | on long double, which are not implemented in hardware on any UltraSPARC chip that I know of. This just calls into the existing floating point emulator, which is still needed to emulate other floating point operations in certain conditions. Without this gcc has to generate the quad floating point instructions directly, which sometimes causes internal compiler errors. Reviewed by: tmm
* Emulate ldq and stq (load/store long double) instructions. GCC has startedjake2002-04-2712-106/+252
| | | | | | | | | using these to load long doubles, but they aren't implemented in hardware on (at least) UltraSPARC I and II machines. Emulate popc in the user trap handler as well. Re-arrange slightly to make support functions more accessible. Reviewed by: tmm
* #include <string.h> instead of <strings.h>des2002-04-251-1/+1
|
* Constify _malloc_options.phk2002-04-242-3/+3
|
* Implement several of the c99 updates to scanf(3):fenner2002-04-202-140/+220
| | | | | | | | | | | | | - New length modifiers: hh, j, ll, t, z. Still to do: - %C, %S, %lc, %ls (wide character support) - %a/%A (exact hex representation of floating-point numbers) Removed old compatability equivalents: - %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these were buggy anyway, since they should have represented %Le & %Lf). - %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d
* mdoc(7) police: polishing.ru2002-04-191-11/+14
|
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-196-11/+22
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* Connect the kenv.2 manpage to the build.mux2002-04-181-1/+1
|
* Add a manpage for the kenv(2) syscall that Chad David kindlymux2002-04-181-0/+172
| | | | | | wrote for me. Submitted by: davidc
* Support the snapshot file flag, so that tools like 'ls -ol' workjoe2002-04-161-0/+3
| | | | | | | as expected on snapshot files. PR: bin/37038 Submitted by: Joshua Goodall <joshua@roughtrade.net>
* Add awareness of an IPv6.ume2002-04-151-7/+20
| | | | MFC after: 1 week
* Quoting log message for OpenBSD rev 1.7:nectar2002-04-151-0/+28
| | | | | | ``Tack on MagniComp (BSD) license since this originally came from rdist.'' Obtained from: OpenBSD
* Missed a spot in previous commit.des2002-04-151-1/+3
| | | | Sponsored by: DARPA, NAI Labs
* (ab)use unused bits in the pw_fields member of struct passwd to recorddes2002-04-141-2/+12
| | | | | | the source of the data contained in the structure. Sponsored by: DARPA, NAI Labs
* Remove the hard-coded limit of 3 bytes for EUC encodings.asmodai2002-04-141-1/+3
| | | | | | | | | | Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to any arbitrary number. We now set the limit to the maximum octet length of the codeset and it is locale-specific. Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
* Correct markup.dd2002-04-141-1/+2
|
* Install digittoint.3 (forgotten in rev 1.21)des2002-04-131-1/+1
| | | | | PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Use the correct macros for F_SETFD/F_GETFD instead of magic numbers.asmodai2002-04-131-4/+12
| | | | | | | | | Reflect that fact in the manual page. PR: 12723 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Approved by: bde MFC after: 2 weeks
* This was recently MFC'd, so it will appear in 4.6.dd2002-04-131-1/+1
| | | | PR: 37018
* Implement _Unwind_FindTableEntry(). This function is part of GCCmarcel2002-04-132-0/+130
| | | | | for some configurations, but not for FreeBSD (yet?). Have one in libc in the mean time.
OpenPOWER on IntegriCloud