summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1. Hide the internals of struct fd_set in standard namespaces.mike2002-11-171-5/+15
| | | | | | | | | | 2. Avoid referencing bcopy() and bzero(), since they may not be in scope. Request by: bde (1) Submitted by: wollman (2) Reviewed by: archie, bde PR: 43270
* Minor documentation changes and indentation fix.luigi2002-11-171-37/+26
| | | | | | | Replace m_copy() with m_copypacket() where applicable. While at it, fix some function headers and remove 'register' from variable declarations.
* Cleanup some of the comments, and reformat long lines.luigi2002-11-171-29/+27
| | | | | | | | | | | | Replace m_copy() with m_copypacket() where applicable. Replace "if (a.s_addr ...)" with "if (a.s_addr != INADDR_ANY ...)" to make it clear what the code means. While at it, fix some function headers and remove 'register' from variable declarations. MFC after: 3 days
* - Add support for ALT_BREAK_TO_DEBUGGER; this is the only reliable way tojake2002-11-171-21/+103
| | | | | | | | trigger a breakpoint with this chip. - Fiddle the right bits in the cn input and output routines to disable port interrupts and enable visibility of the masked interrupt status bits. - Register a shutdown final event handler to put the chip back in the mode that the prom expects.
* Apply some fixups in the driver_t's.joe2002-11-173-3/+3
| | | | | Submitted by: akiyama MFC after: 3 days
* Use a sysctl for controlling the debugging output.joe2002-11-171-6/+19
| | | | Submitted by: akiyama
* Save a slice name on the disk and print it at g_pc98_dumpconf().nyan2002-11-171-14/+26
|
* - Ease sanity check to get cylinders.nyan2002-11-171-6/+12
| | | | - Get the slice name from the result of kern.geom.conftxt.
* Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.nyan2002-11-171-0/+4
|
* Fix a typo in a console message.joe2002-11-171-1/+1
| | | | | Submitted by: akiyama MFC after: 3 days
* 1.Add sysctls to control KSE resource allocation.davidxu2002-11-172-16/+60
| | | | | | | | | | | | | | | | kern.threads.max_threads_per_proc kern.threads.max_groups_per_proc 2.Temporary disable borrower thread stash itself as owner thread's spare thread in thread_exit(). there is a race between owner thread and borrow thread: an owner thread may allocate a spare thread as this: if (td->td_standin == NULL) td->standin = thread_alloc(); but thread_alloc() can block the thread, then a borrower thread would possible stash it self as owner's spare thread in thread_exit(), after owner is resumed, result is a thread leak in kernel, double check in owner can avoid the race, but it may be ugly and not worth to do.
* Rework last exiting thread in kse_release(), wait a signal and thendavidxu2002-11-172-4/+22
| | | | schedule an upcall and call thread_exit().
* Fix a typo. Add FreeBSD ID in a %% comment.schweikh2002-11-171-1/+2
| | | | MFC after: 3 days
* - Release the imgp vnode prior to freeing exec_map resources to avoidjeff2002-11-171-4/+4
| | | | deadlock.
* goto break; != break;dougb2002-11-171-3/+3
| | | | | | I've no idea if this is the right behavior for the library, but this at least fixes the build, and matches what seems to be alfred's intent in the commit message for 1.19.
* DETACH_FORCE was removed recently. Remove it here, even though thisimp2002-11-171-7/+5
| | | | isn't supported.
* Rework the sysconf(3) interaction with aio:alfred2002-11-176-13/+52
| | | | | | | | | | | | | | | | | | | | | | | | sysconf.c: Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0' return value from the kernel sysctl. vfs_aio.c: Make aio reset its configuration parameters to -1 after unloading instead of 0. posix4_mib.c: Initialize the aio configuration parameters to -1 to indicate that it is not loaded. Add a facility (p31b_iscfg()) to determine if a posix4 facility has been initialized to avoid having to re-order the SYSINITs. Use p31b_iscfg() to determine if aio has had a chance to run yet which is likely if it is compiled into the kernel and avoid spamming its values. Introduce a macro P31B_VALID() instead of doing the same comparison over and over. posix4.h: Prototype p31b_iscfg().
* MFi386: revision 1.550.nyan2002-11-172-2/+4
|
* Merged from sys/isa/fd.c revision 1.242.nyan2002-11-172-4/+4
|
* MFi386 r1.369. Clear the PG_WRITEABLE flag in pmap_clear_write; returnjake2002-11-171-1/+3
| | | | | | immediately if its already clear. Suggested by: alc
* Regenerate after adding syscalls.deischen2002-11-169-12/+39
|
* - Don't forget the flags value when using boot pages.jeff2002-11-161-0/+1
| | | | Reported by: grehan
* Implement the lock with a cmpxchg instruction instead of a xchg.marcel2002-11-161-2/+3
| | | | | | | | | | Both are atomic, but the cmpxchg has memory ordering hints. We give this acquire semantics. NOTE: The unlock in libc_r is implemented by a "normal" assign statement. This is not correct on ia64 due to the memory ordering characteristics of the architecture. We need release semantics for an unlock.
* Enable selecting the type of partition menu on pc98.nyan2002-11-162-34/+34
|
* Add *context() syscalls to ia64 32-bit compatability table as requesteddeischen2002-11-163-0/+9
| | | | in kern/syscalls.master.
* Do not emit a message on stderr when one of the compared filesthomas2002-11-161-1/+1
| | | | | | | is shorter than the other. Reviewed by: roberto MFC after: 3 days
* Remove incorrect output redirection.thomas2002-11-161-1/+1
| | | | | | Reviewed by: roberto Committed from: EuroBSDCon Amsterdam MFC after: 3 days
* set watch in tcsh requires an equal sign after the variable name.joerg2002-11-161-1/+1
| | | | MFC after: 1 day
* Mfebd in a hurryue2002-11-163-21/+95
| | | | | | installation/common/install.sgml: 1.15 -> 1.16 installation/sparc64/article.sgml: 1.3 -> 1.4 relnotes/common/new.sgml: 1.451 -> 1.452
* These two patches makes it easier to compile custom versions ofroberto2002-11-162-2/+6
| | | | | | | | | | | NTP on FreeBSD: The first one allows one to avoid installing the html files. The second one allows one to override the CLOCKDEFS on the make command line. Submitted by: phk
* Now that pmap_remove_all() is exported by our pmap implementationsalc2002-11-167-22/+22
| | | | use it directly.
* Disconnect the userland get/set/swapcontext() functions fromdeischen2002-11-164-6/+6
| | | | | | | | | libc. I want to keep these in some version for the thread library/ies, but don't know whether to have them repo-copied to libc_r or renamed and kept in libc. Change the name of an alpha macro that was changed with the system call commit.
* Export the values for _SC_AIO_MAX and _SC_AIO_PRIO_DELTA_MAX via the p1003balfred2002-11-161-0/+4
| | | | sysctl interface.
* Regenerate after adding system calls.deischen2002-11-165-7/+32
|
* Add getcontext, setcontext, and swapcontext as system calls.deischen2002-11-1622-55/+371
| | | | | | | | | | | Previously these were libc functions but were requested to be made into system calls for atomicity and to coalesce what might be two entrances into the kernel (signal mask setting and floating point trap) into one. A few style nits and comments from bde are also included. Tested on alpha by: gallatin
* Provide more correct default values for sysconf(3) reporting of the AIOalfred2002-11-161-0/+3
| | | | | | | | | | | | | subsystems capabilities: _SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSIX_AIO_MAX _SC_AIO_PRIO_DELTA_MAX returns the default of 0 Without these adjustments the values returned are -1 even when the aio side of the kernel returns '0' for them which is incorrect. Noticed by: Craig Rodrigues <rodrigc@attbi.com>
* Call 'p31b_setcfg(CTL_P1003_1B_AIO_LISTIO_MAX, AIO_LISTIO_MAX)'alfred2002-11-161-0/+3
| | | | | | when AIO is initialized so that sysconf() gives correct results. Reported by: Craig Rodrigues <rodrigc@attbi.com>
* Repair buglet introduced with the last import of Heimdal:nectar2002-11-161-0/+1
| | | | | | | `krb5-config --cflags' spewed an erroneous argument. Reported by: Gabor@Zahemszky.HU Approved by: re (jhb)
* Sort SRCS.marcel2002-11-161-5/+4
|
* Properly calculate the initial number of fragments in a large filesystem.mckusick2002-11-151-1/+2
| | | | Sponsored by: DARPA & NAI Labs.
* headers should not really include "opt_foo.h" (in this case opt_posix.h).alfred2002-11-156-4/+8
| | | | remove it from the header and add it to the files that require it.
* Massive cleanup of the ip_mroute code.luigi2002-11-158-888/+596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional changes, but: + the mrouting module now should behave the same as the compiled-in version (it did not before, some of the rsvp code was not loaded properly); + netinet/ip_mroute.c is now truly optional; + removed some redundant/unused code; + changed many instances of '0' to NULL and INADDR_ANY as appropriate; + removed several static variables to make the code more SMP-friendly; + fixed some minor bugs in the mrouting code (mostly, incorrect return values from functions). This commit is also a prerequisite to the addition of support for PIM, which i would like to put in before DP2 (it does not change any of the existing APIs, anyways). Note, in the process we found out that some device drivers fail to properly handle changes in IFF_ALLMULTI, leading to interesting behaviour when a multicast router is started. This bug is not corrected by this commit, and will be fixed with a separate commit. Detailed changes: -------------------- netinet/ip_mroute.c all the above. conf/files make ip_mroute.c optional net/route.c fix mrt_ioctl hook netinet/ip_input.c fix ip_mforward hook, move rsvp_input() here together with other rsvp code, and a couple of indentation fixes. netinet/ip_output.c fix ip_mforward and ip_mcast_src hooks netinet/ip_var.h rsvp function hooks netinet/raw_ip.c hooks for mrouting and rsvp functions, plus interface cleanup. netinet/ip_mroute.h remove an unused and optional field from a struct Most of the code is from Pavlin Radoslavov and the XORP project Reviewed by: sam MFC after: 1 week
* A little bit of anti-foot-shooting. Use utimes(2) rather thanpeter2002-11-151-8/+11
| | | | | | | | | the deprecated utime(3). utimes(2) uses timeval, but utime(3) uses time_t's. If you do bad things (like I did) by mixing up include files with libc, then install can do strange things if you mismatch the time_t stuff. utime() is emulated entirely within libc. Approved by: re (jhb)
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanpeter2002-11-154-9/+13
| | | | | | | | | | | | time_t. Deal with the possibility that time_t != int32_t. This boils down to this sort of thing: - time(&ut.ut_time); + ut.ut_time = time(NULL); and similar for ctime(3) etc. I've kept it minimal for the stuff that may need to be portable (or 3rd party code), but used Matt's time32 stuff for cases where that isn't as much of a concern. Approved by: re (jhb)
* Do not assume that time_t is an int.peter2002-11-152-3/+3
| | | | Approved by: re (jhb)
* Test the water. Make time_t long (64 bit) on ia64 since we do not havepeter2002-11-151-1/+1
| | | | | | | | | to worry about ABI vs released systems yet. This is mostly transparent since there is no significant exposure in the syscall interface. The things that go wrong are mostly userland stuff - time(&intvariable). Reviewed by: dfr, marcel Approved by: re (jhb)
* Rework the checking out of the doc, src, and ports trees a bit to make itjhb2002-11-151-19/+31
| | | | | | | | | | | | | | | | | | | | | | more manageable. - Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when using CVS to checkout files. We stick release tags in these helper variables if they are defined and then use only one cvs command instead of two cvs commands with an .ifdef to choose between them. - rm the old src/doc/ports directories as separate commands from the CVS comands so that the rm commands don't need to be duplicated. - Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs command in an .ifdef. - Add support for grabbing src/ and doc/ from external directories specified via EXTSRCDIR and EXTDOCDIR instead of from CVS. The same is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a bit tricky. The rerelease target scripts have not been changed to use the helper variables yet, so there is still some room for improvement. Submitted by: kuriyama (4)
* Document NOCDROM and NO_FLOPPIES.jhb2002-11-151-0/+4
|
* Allow a person to specify NOCDROM to skip the cdrom.1 target during ajhb2002-11-151-2/+5
| | | | | | | release build. PR: 45300 Submitted by: David Yeske <dyeske@yahoo.com>
* Explicitly add lang/perl5 to the disc1 packages. Practically speaking,bmah2002-11-151-0/+1
| | | | | this is unnecessary, because some other port is likely to depend on it anyways. But just to be safe...
OpenPOWER on IntegriCloud