summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* - Restore old mutex code from libc_r. It is more standards compliant.jeff2003-04-012-205/+1364
| | | | | | | This was changed because originally we were blocking on the umtx and allowing the kernel to do the queueing. It was decided that the lib should queue and start the threads in the order it decides and the umtx code would just be used like spinlocks.
* [1] - Document EHOSTUNREACH as a possible errorceri2003-04-011-1/+3
| | | | | | | | [2] - Remove a contraction PR: docs/50401 Submitted by: [1] Slaven Rezic <slaven@rezic.de> MFC after: 1 week
* - Adjust the makefiles so we have a per architecture makefile.jeff2003-04-013-1/+7
|
* - Spell SIGSETOR correctly.jeff2003-04-011-1/+1
|
* - Commit the forgotten libthr/sys bits.jeff2003-04-012-0/+64
|
* - Add libthr but don't hook it up to the regular build yet. This is anjeff2003-04-0149-0/+7686
| | | | | adaptation of libc_r for the thr system call interface. This is beta quality code.
* - Catch up with kernel signal changes.jeff2003-03-311-1/+2
|
* Add a facility allowing processes to inform the VM subsystem they arewes2003-03-311-0/+9
| | | | | | | | critical and should not be killed when pageout is looking for more memory pages in all the wrong places. Reviewed by: arch@ Sponsored by: St. Bernard Software
* Experimental pam_chroot module (not connected to the build)des2003-03-303-0/+193
|
* MFp4: Fix copy&paste English error.jmallett2003-03-301-1/+1
|
* BDE'ifyfjoe2003-03-291-79/+89
|
* fix truncation check and buffer overflow checkfjoe2003-03-291-11/+11
|
* Align signal frame placed on stack to 16 bytes so that SSE FPU registerdeischen2003-03-291-1/+2
| | | | | | restores can work. Also correct allocation for signal frame size. Reviewed by: mini
* Don't dereference flags if NULL (see http.c rev 1.87)des2003-03-291-1/+1
|
* Fill in the rest of the fields in the resulting struct tmmtm2003-03-291-2/+3
| | | | | | | | | | from strptime(3). Previously, they would get filled only for the %s specifier and as a side effect of using the the %Z specifier with a GMT time zone. PR: misc/48993 Approved by: markm (mentor) Silence on: -standards
* - MAXPATHLEN -> PATH_MAX (pass correct buffer size to readlink as well)fjoe2003-03-281-17/+17
| | | | Requested by: bde
* Close the disk file descriptor that is RO before trying to open thejmallett2003-03-281-4/+1
| | | | | | | | | new one, and do not fall back to the RO fd. There was a bug here in that the RO fd was never closed, if the RDRW open succeeded, but this code is bogus anyway, and it breaks newfs of floppies, at least for me, due to "Device busy." Anything that wants to fall back is doing something significantly odd that it should have some more complex code on its end.
* Make realpath() thread-safe. New implementation does not use chdir(2) at all.fjoe2003-03-272-111/+128
| | | | Submitted by: Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
* Run a revision on the OAM api.phk2003-03-272-93/+136
| | | | | | | Use prefix gctl_ systematically. Add flag with access perms for each argument. Add ro/rw versions of argument building functions. General cleanup.
* - Define a _spinunlock() function so that threading implementations may dojeff2003-03-265-1/+31
| | | | | | more complicated things than just setting the lock to 0. - Implement stubs for this function in libc and the two threading libraries that are currently in the tree.
* Back off WARNS until I've had a chance to deal with the problems onmdodd2003-03-251-1/+1
| | | | sparc64/alpha.
* Fix warnings.mdodd2003-03-256-18/+24
|
* The .Fn functioncharnier2003-03-244-7/+11
| | | | The ... 2 system call
* The .Fn function. Use .Xr where appropriate.charnier2003-03-2436-89/+166
|
* The .Fn functioncharnier2003-03-2417-48/+84
|
* The .Nm librarycharnier2003-03-241-2/+3
|
* The .Fn functioncharnier2003-03-245-13/+23
| | | | The .Fa argument
* The .Fn functioncharnier2003-03-241-5/+10
| | | | The .Nm library
* Add marshalling functions for OAM api.phk2003-03-233-1/+262
|
* According to C99 decimal_point can't be emptyache2003-03-201-4/+1
|
* According to C99 decimal_point can't be the empty string, mention it.ache2003-03-201-1/+2
|
* decimal_point can't be "" according to C99, so set it to standard "."ache2003-03-201-1/+6
| | | | in that case.
* The flags passed in to _ftp_get_proxy may be nullmtm2003-03-191-1/+1
| | | | Approved by: des, markm (mentor)(implicit)
* - Revamp the function _nis_initshells() to make getusershell() backedrobert2003-03-191-35/+30
| | | | | | | by NIS work, like nsswitch.conf(5) promises to be able to. (These modifications will be fed back to NetBSD, of course) - In endusershell(), do not set `sl' to NULL if we know it already has that value.
* typophk2003-03-191-1/+1
|
* Further unbreak devstat: sort the index array in correct order too.phk2003-03-191-10/+10
|
* If realloc(3) fails in copyline(), do not make matters worse byrobert2003-03-191-6/+11
| | | | leaving without deallocating `data' thereby creating a memory leak.
* ARGH!phk2003-03-181-3/+3
| | | | Pointy hat to: phk
* Commit ken@' changes to this file: Bump version and append new entriesphk2003-03-181-9/+9
| | | | to stay backwards compatible.
* Update to match reality closer.phk2003-03-181-274/+42
|
* Add more devstat calculations, mostly filling in holes, but also addingphk2003-03-182-27/+130
| | | | | | | | | | a couple of reqests: DSM_BUSY_PCT and DSM_QUEUE_LENGTH. I have no further plans for mutilating this API at this point in time, and will update the man-page to reflect current reality as the next thing. Reviewed by: ken
* Use devstat instead of GEOM private statistics structure.phk2003-03-182-8/+7
|
* Constify arg to geom_lookupid().phk2003-03-172-3/+3
| | | | Improve a diagnostic printf.
* Ignore GBDE devices.phk2003-03-171-0/+2
| | | | Spotted by: Lucky Green <shamrock@cypherpunks.to>
* Make pw_edit() use /bin/sh to interpret the EDITOR environmentdas2003-03-171-2/+12
| | | | | | | variable. PR: 48748 Reviewed by: mike (mentor)
* And I managed to make a regression here too.phk2003-03-151-5/+5
| | | | I have too many source trees :-(
* Run a revision of the devstat interface:phk2003-03-153-123/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken
* The gdtoa import apparently hasn't caused anything or anyone todas2003-03-151-2429/+0
| | | | | explode, so nix the old strtod() / dtoa(). This change is part of the gdtoa patches reviewed on standards@.
* Backout last commit.davidxu2003-03-152-2/+2
| | | | Requested by: jhb
* MFp4: Pentium/Athlon-optimised implementation of wcslen().tjr2003-03-142-1/+69
|
OpenPOWER on IntegriCloud