summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Switch from using save/disable/restore_intr to using critical_enter/exitjhb2001-03-289-97/+171
| | | | | | | | | | | | | | | | | and change the u_int mtx_saveintr member of struct mtx to a critical_t mtx_savecrit. - On the alpha we no longer need a custom _get_spin_lock() macro to avoid an extra PAL call, so remove it. - Partially fix using mutexes with WITNESS in modules. Change all the _mtx_{un,}lock_{spin,}_flags() macros to accept explicit file and line parameters and rename them to use a prefix of two underscores. Inside of kern_mutex.c, generate wrapper functions for _mtx_{un,}lock_{spin,}_flags() (only using a prefix of one underscore) that are called from modules. The macros mtx_{un,}lock_{spin,}_flags() are mapped to the __mtx_* macros inside of the kernel to inline the usual case of mutex operations and map to the internal _mtx_* functions in the module case so that modules will use WITNESS and KTR logging if the kernel is compiled with support for it.
* Mention that the vga(4) driver supports 90-column video modes.dd2001-03-281-0/+10
| | | | | | PR: 26050 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Approved by: nik
* - Add the new critical_t type used to save state inside of criticaljhb2001-03-287-58/+57
| | | | | | | | | sections. - Add implementations of the critical_enter() and critical_exit() functions and remove restore_intr() and save_intr(). - Remove the somewhat bogus disable_intr() and enable_intr() functions on the alpha as the alpha actually uses a priority level and not simple bit flag on the CPU.
* Previous commit message was bogus:jhb2001-03-280-0/+0
| | | | - Switch to using critical_enter/exit instead of save/disable/restore_intr.
* Revert previous commit which had a bogus message. It actually justjhb2001-03-281-1/+1
| | | | disabled the somewhat annoying KTR log trace for clock interrupts.
* Previous commit message was bogus:jhb2001-03-280-0/+0
| | | | - Catch up to rename of mtx_saveintr to mtx_savecrit within struct mtx.
* Previous commit message was bogus, here's the real one:jhb2001-03-280-0/+0
| | | | | | | | | - Switch to using critical_enter/exit instead of save/disable/restore_intr. - Disable interrupts in Debugger(). This second change wasn't really supposed to go in, but since it's in there and is useful so that one doesn't get spammed with clock interrupts while in ddb, I'll leave it in unless people want it reverted.
* The previous commit message is bogus, this actually just removed anjhb2001-03-280-0/+0
| | | | unused variable to silence a warning.
* - Include <machine/prom.h> to get the prototype for prom_halt().jhb2001-03-289-58/+57
| | | | | | | | - If there is no gdb device, just return without trying to return any value since gdb_handle_exception() returns void. - When calling prom_halt(), pass in a value telling it to actually halt and not to randomly choose whether or not to halt or reboot depending on whatever value happened to be in a0 when the call was made.
* Last commit was broken.. It always prints '[CTRL-C to abort]'.ps2001-03-286-51/+31
| | | | | | | Move duplicate code for printing the status of the dump and checking for abort into a separate function. Pointy hat to: me
* Check whether we need to do a full restore after handling ASTs. Ifgallatin2001-03-281-4/+4
| | | | | | | | | | | | | | | an AST results in a signal being delivered, we'll need to do a full register restore so as to properly setup the signal handler. This is somewhat of a pessimization, because ast() will be called twice in this case. This fixes several problems that have been reported where signal intensive userland apps (most notably dump) have been SEGV'ing for no fault of their own. Thanks to Peter Jeremy <peter.jeremy@alcatel.com.au> for presenting the AST scenario which led to me fiinally figuring this out. Reviewed by: jhb
* o De-uglify IMPLEMENTATION NOTES section by removing unnecessary use ofrwatson2001-03-282-4/+2
| | | | .Fx
* Add some comments to two examples and extend a ``set ifaddr''.brian2001-03-282-6/+6
|
* Restore part of my fix spammed in v1.23:ache2001-03-271-1/+1
| | | | | | fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END) 1) File may grows between operations, so fseeko to file_size may miss 2) 0L, SEEK_END is the same code using in tail in all other places
* Update the acknowledgements section.jkh2001-03-272-38/+6
|
* Finally fix __yp_ping(). We can't use the old locally defined clntudp_call()wpaul2001-03-271-239/+26
| | | | | | | method anymore since the code inside the RPC library has changed too much. Now that the clnt_dg module has the necessary code internally, we can yank out the local method code and turn on the ASYNC hack with clnt_control(). This will make the -m flag work again.
* Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transportwpaul2001-03-272-3/+20
| | | | | | | | | | | | | | | | | | to make asynchronous RPCs. This is needed to help fix ypbind, which can no longer override the clnt_dg_call() method (formerly the clntudp_call() method) due to all the internal descriptor locking code in TI-RPC. Turning on this flag allows us to send an RPC request, then return immediately, and handle a reply later, rather than being forced to do the request and reply in a single function call. Also fix a byte ordering bug: when clnt_dg_call() increments the XID prior to transmitting a request, it uses the raw value, which is wrong. The XID is stored in network byte order, i.e. big-endian. The CLSET_XID and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get the byte ordering right, but because clnt_dg_call() does not do this, using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap properly when doing the increment.
* New release notes: Filesystem ACLs, getfacl(1) and setfacl(1).bmah2001-03-272-0/+16
| | | | Submitted by: rwatson
* Don't leak the memory we've just malloced if we can't find thedwmalone2001-03-271-2/+2
| | | | | | | | process we're looking for. (I don't think this can currently happen, but it depends how the function is called). PR: 25932 Submitted by: David Xu <davidx@viasoft.com.cn>
* Fix tail to work on files bigger than 2GB.dwmalone2001-03-274-65/+146
| | | | | PR: 14786 Reviewed by: iedowse
* Document LOG_CONSOLE.cwt2001-03-272-3/+8
|
* Add full PAM support for account management and sessions.markm2001-03-2712-184/+686
| | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>
* Make rev 1.5 better match the rest of dump(8)'s output.obrien2001-03-271-2/+2
|
* Do not exit if unable to read /etc/dumpdates or create it.obrien2001-03-271-2/+4
| | | | | | If one is trying to dump or repair an ill system, give the user a fighting chance. Refusing to operate w/o a very non-critical file (feature) is just plain stupid.
* Remove NOMANcokane2001-03-271-1/+0
|
* MAN[1-9] -> MAN.ru2001-03-2763-141/+121
|
* Formatting fix for rev 1.298 where I did not take enough care.obrien2001-03-271-30/+30
|
* Mirror the newfs(8) defaults change I made in rev 1.33 of newfs.c whereobrien2001-03-272-2/+2
| | | | I made `22' the default number of cylinders per group.
* Fix LDADD and add missing DPADD.ru2001-03-273-6/+12
|
* Describe details of importing.sobomax2001-03-271-0/+28
|
* Traverse ${DESTDIR}/usr/include in lexographical order.ru2001-03-271-1/+1
| | | | This should fix problems reported recently on -current.
* Add comment explaining why size not passed directly to mmap, i.e. not relayache2001-03-271-3/+9
| | | | | | on its check. KNF multi-line comments (inspired by bde)
* Do not override the ``install'' target.ru2001-03-271-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-2755-82/+80
|
* MAN[1-9] -> MAN.ru2001-03-278-8/+8
|
* MAN[1-9] -> MAN.ru2001-03-2723-25/+25
|
* Update FreeBSD translations to match 1.4.1 (actually just copied Enslishsobomax2001-03-276-12/+30
| | | | messages as I don't know de, pl and fr).
* Resolve conflicts.sobomax2001-03-276-158/+518
|
* MAN[1-9] -> MAN.ru2001-03-2714-15/+16
|
* This commit was generated by cvs2svn to compensate for changes in r74853,sobomax2001-03-272-21/+38
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of Hugh F. Mahon's EasyEditor 1.4.1.sobomax2001-03-277-170/+554
| |
* | Don't bypass notifying a corresponding interfaceyar2001-03-271-0/+6
| | | | | | | | | | | | | | when leaving a link-layer multicast group. PR: kern/22176 Reviewed by: wollman
* | Add a missing m_pullup() before a mtod() in in_arpinput().yar2001-03-271-0/+6
| | | | | | | | | | PR: kern/22177 Reviewed by: wollman
* | MAN[1-9] -> MAN.ru2001-03-274-6/+4
| |
* | Reflect recent bsd.man.mk changes here, but do not assign theru2001-03-271-5/+8
| | | | | | | | | | default MAN=${KMOD}.4 value for now. This feature was broken before, and enabling it now would cause 92 Makefiles to fail.
* | MAN[1-9] -> MAN.ru2001-03-2757-81/+74
| |
* | Use PLAY_MSF instead of PLAY_BIG when doing audio play.sos2001-03-273-31/+36
| | | | | | | | | | | | | | | | | | | | | | The fixes the problem of PLAY_BIG not being implemented on some modern drives. The problem now is that some old drives use BSD encoding in the MSF case, which they dont tell, and which is also not according to spec *sigh*. Hopefully there are not too many of those still alive, or I hereby grant license to kill the firmware writers that wrote the mess.
* | Make cblock_alloc_cblocks() spell its own nameyar2001-03-272-2/+2
| | | | | | | | | | | | correctly in its warning message. PR: kern/7693
* | MAN[1-9] -> MAN.ru2001-03-275-6/+4
| |
* | give the "netgrent" functions a home in netdb.halfred2001-03-275-11/+7
| |
OpenPOWER on IntegriCloud