aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'camcontrol rescan' syntax and use the proper indentation forPeter Pentchev2004-07-151-2/+2
| | | | | | | | | | | the FILES list. PR: 66827 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 2 weeks Notes: svn path=/head/; revision=132194
* Don't pass negative values into <ctype.h> functions on machinesTim J. Robbins2004-07-151-3/+3
| | | | | | | with signed chars. Notes: svn path=/head/; revision=132193
* Print size_t with %zu, not %d.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132192
* Respect locale settings from the environment.Tim J. Robbins2004-07-151-0/+3
| | | | Notes: svn path=/head/; revision=132191
* Add incorrect multibyte character handling to the already long listTim J. Robbins2004-07-151-1/+3
| | | | | | | of bugs. Notes: svn path=/head/; revision=132190
* Use freopen() instead of a nasty hack.Tim J. Robbins2004-07-151-2/+1
| | | | Notes: svn path=/head/; revision=132189
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-151-1/+5
| | | | Notes: svn path=/head/; revision=132188
* Ensure that suffix matches occur on character boundaries.Tim J. Robbins2004-07-151-4/+32
| | | | Notes: svn path=/head/; revision=132187
* Document line length and multibyte character limitations.Tim J. Robbins2004-07-151-1/+4
| | | | Notes: svn path=/head/; revision=132184
* Remove Walnut Creek CDROM script that Jordan wrote in the 90s.Murray Stokely2004-07-152-44/+0
| | | | | | | | | This functionality is largely in src/release/${ARCH}/mkisofs.sh now. PR: docs/43569 Notes: svn path=/head/; revision=132183
* Use err() instead of perror(), exit().Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132182
* Remove some serious foot-shooting potential from the release Makefile. ForJohn Baldwin2004-07-151-3/+13
| | | | | | | | | | | | | | | | | | some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally added, they were silently ignored if the actual file did not exist. As a result, if one mistyped the pathname to a patch or script, then the release silently succeeded. However, it was not built with the desired changes and no warning was given to inform the builder either. This commit explicitly checks to see that all of the defined patches and scripts exist up front and bails if any of them do not exist. I lost several hours of valuable sleeping time this evening due to this "feature" so I've finally gone and ripped out. I've tripped over this in the past several other times as well. Glanced at by: scottl Notes: svn path=/head/; revision=132181
* Use warn() instead of perror().Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132180
* Add libthread_db assisted debugging support module.David Xu2004-07-151-0/+1095
| | | | Notes: svn path=/head/; revision=132179
* Use warn() instead of perror().Tim J. Robbins2004-07-152-4/+5
| | | | Notes: svn path=/head/; revision=132178
* Tidy up system shutdown.Alfred Perlstein2004-07-152-6/+24
| | | | Notes: svn path=/head/; revision=132177
* type prgregset_t really should be an array. this is odd, however, otherDavid Xu2004-07-151-1/+1
| | | | | | | | | systems defined interfaces in thread_db.h use prgregset_t but not prgregset_t * to be a output parameter, this is the only way to maintain source code compatible with them. Notes: svn path=/head/; revision=132175
* Disable SIGIO for now, leave a comment as to why it's busted and hardAlfred Perlstein2004-07-151-0/+20
| | | | | | | to fix. Notes: svn path=/head/; revision=132174
* Add proc_service.h, the common file both debugger and libthread_db willDavid Xu2004-07-152-1/+104
| | | | | | | | use, program wants to load libthread_db.so should provid proc service interface. Notes: svn path=/head/; revision=132173
* Add my initial work of libthread_db. The library is used by gdb to debugDavid Xu2004-07-159-0/+2030
| | | | | | | | threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r. Notes: svn path=/head/; revision=132172
* Clean up the output on reboot by keeping completion messages on the sameNate Lawson2004-07-151-2/+2
| | | | | | | | | line as the announcement. Someone should probably update the "buffers remaining" message since we now no longer should have any buffers remaining at that point. Notes: svn path=/head/; revision=132171
* A loop in pmap_remove() should use TAILQ_FOREACH_SAFE(), notAlan Cox2004-07-151-2/+2
| | | | | | | | | TAILQ_FOREACH(), because the loop deletes elements from the list. Reviewed by: marcel@ Notes: svn path=/head/; revision=132170
* Make the day/month ordering dependent on the current locale byTim Kientzle2004-07-154-4/+17
| | | | | | | | testing the locale at program startup and setting a flag, then using that flag to determine appropriate strftime() arguments. Notes: svn path=/head/; revision=132169
* Style: rename 'mkdirpath' so it's clearer exactly what it does.Tim Kientzle2004-07-151-22/+27
| | | | | | | (To be precise, it creates the parent dir of the provided path.) Notes: svn path=/head/; revision=132168
* A module with no modevent function gets modevent_nop() as default.Poul-Henning Kamp2004-07-141-1/+9
| | | | | | | | | | | | | | | | Until now the function has just returned zero for any event, but that is downright wrong for MOD_UNLOAD and not very useful for any future events we add where it may be crucial to be able to tell if the event was unhandled or successful. Change the function to return as follows: MOD_LOAD -> 0 MOD_UNLOAD -> EBUSY anything else -> EOPNOTSUPP Notes: svn path=/head/; revision=132167
* Add a comment separator.Nate Lawson2004-07-141-1/+1
| | | | Notes: svn path=/head/; revision=132166
* Add a HARDWARE section which lists supported devices. The actualSimon L. B. Nielsen2004-07-145-58/+95
| | | | | | | | device listings has been moved (and in some cases more or less rewritten) from the DESCRIPTION section. Notes: svn path=/head/; revision=132165
* Add a note indicating that the eh_prototype field used to constructRobert Watson2004-07-141-0/+4
| | | | | | | ethernet headers is unsynchronized. Notes: svn path=/head/; revision=132164
* Add a mutex ng_tty_mtx to protect the global variable ngt_unit. NoteRobert Watson2004-07-141-0/+10
| | | | | | | | that the locking of globals here isn't complete, and there's also a locking issue relating to calling into and out of the tty code. Notes: svn path=/head/; revision=132163
* Add ng_ppp_latencies_mtx, a global mutex to protect the latency list.Robert Watson2004-07-141-0/+11
| | | | | | | | | Note that the table is a hack, and so is this mutex. Reviewed by: glebius Notes: svn path=/head/; revision=132162
* Introduce a new mutex, ng_fec_mtx, to protect the global unit list toRobert Watson2004-07-141-1/+10
| | | | | | | | | synchronization allocation of FEC unit numbers. Reviewed by: glebius Notes: svn path=/head/; revision=132161
* Introduce a new mutex, ng_eiface_mtx, to protect the global unit listRobert Watson2004-07-141-1/+11
| | | | | | | | | | lock used to synchronize allocation of unit numbers for new netgraph ethernet interfaces. Reviewed by: glebius Notes: svn path=/head/; revision=132160
* Introduce a new mutex, ng_iface_mtx, to protect the global unit listRobert Watson2004-07-141-1/+12
| | | | | | | | | | | lock used to synchronize allocation of unit numbers for new netgraph interfaces. Reviewed by: glebius Tested by: glebius Notes: svn path=/head/; revision=132159
* Some laptops report the "design-capacity" instead of the "real-capacity"Mark Santcroos2004-07-141-0/+9
| | | | | | | | | | | when the battery is fully charged. That breaks some of the arithmetic in calculating the remaining capacity (ends up with more than 100%). This commit makes sure the max is 100. Approved by: njl Notes: svn path=/head/; revision=132158
* In addition to the real user ID check, do an explicit jailChristian S.J. Peron2004-07-141-2/+3
| | | | | | | | | | | | | check to ensure that the caller is not prison root. The intention is to fix file descriptor creation so that prison root can not use the last remaining file descriptors. This privilege should be reserved for non-jailed root users. Approved by: bmilekic (mentor) Notes: svn path=/head/; revision=132157
* Correct bounds check in lapic_create().John Baldwin2004-07-141-1/+1
| | | | | | | Submitted by: "Ted Unangst" tedu at coverity.com Notes: svn path=/head/; revision=132156
* Unbreak LINT: device card no longer takes a count.Dag-Erling Smørgrav2004-07-141-1/+1
| | | | Notes: svn path=/head/; revision=132155
* Make sure to update the mnt_stats before UFS1 extattr tried toPoul-Henning Kamp2004-07-141-5/+4
| | | | | | | | do I/O on the device. Otherwise the blocksize is undefined in the buffer cache. Notes: svn path=/head/; revision=132154
* Add a reference to glabel(8).Pawel Jakub Dawidek2004-07-141-0/+1
| | | | Notes: svn path=/head/; revision=132153
* Fix a copy-and-paste-o in IFQ_DRV_PREPEND - all pointyhats to me.Max Laier2004-07-141-5/+5
| | | | | | | | | | While here also fix a (not less stupid) braino in IFQ_DRV_PURGE. Reported-by: clement Tested-by: clement (_PREPEND in sis(4)) Notes: svn path=/head/; revision=132152
* Remove a stray backslashBrian Somers2004-07-141-1/+1
| | | | Notes: svn path=/head/; revision=132151
* Document the -E and -a options as being extensions.Tim J. Robbins2004-07-141-2/+5
| | | | Notes: svn path=/head/; revision=132147
* Update BUGS section to reflect current state of multibyte character support.Tim J. Robbins2004-07-141-4/+11
| | | | Notes: svn path=/head/; revision=132146
* Make the 'y' (translate) command aware of multibyte characters.Tim J. Robbins2004-07-145-17/+145
| | | | Notes: svn path=/head/; revision=132145
* Fix description of cmap_lookup_hard().Tim J. Robbins2004-07-141-1/+1
| | | | Notes: svn path=/head/; revision=132144
* Remove unused member of struct csclass: csc_value.Tim J. Robbins2004-07-141-1/+0
| | | | Notes: svn path=/head/; revision=132143
* Splay the left and right subtrees on min - 1 and max + 1, respectively,Tim J. Robbins2004-07-141-34/+20
| | | | | | | | before trying to coalesce. Forgetting to splay caused us to miss many opportunities for coalescing. Notes: svn path=/head/; revision=132142
* Like on i386, eliminate pv_ptem (which was suggested by alc). ThisPeter Wemm2004-07-142-30/+58
| | | | | | | | | | | | | | | | | | | | reduces the size of the pv_entry structure a small but significant amount. This is implemented a little differently because it isn't so cheap to get the physical address of the page tabke page on amd64.. instead of it being directly accessible from the top level page directory, it is now two additional tree levels down. However.. In almost all cases, we recently had the physical address if the page table page a short while before we needed it, but it slipped through our fingers. This patch saves it for when we do need it. Also, for the one case where we do not have the ptp paddr, we are always running in curproc context and so we can do a vtopte-like trick. I've implemented vtopde() for this purpose. There is still a CYA entry in pmap_unuse_pt() that needs to be removed. I think it can be removed now but I forgot to test with it gone. Notes: svn path=/head/; revision=132141
* Remove duplicate entry.Murray Stokely2004-07-141-1/+0
| | | | | | | Submitted by: mlaier@ Notes: svn path=/head/; revision=132140
* Remove fdc_alloc_resources, which should have happened in last commit.Warner Losh2004-07-142-143/+2
| | | | Notes: svn path=/head/; revision=132139