summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix MASTER_SITE_RUBY. The listed master site is obsolete.knu2001-08-122-2/+2
|
* Add MASTER_SITE_FREEBSD.knu2001-08-122-0/+2
|
* Fix some trivial bugs.iwasaki2001-08-122-20/+24
| | | | | | | | | | | - fix segment limit mis-calculation for GCODE_SEL, GDATA_SEL, GPRIV_SEL, LUCODE_SEL and LUDATA_SEL. - move `loader(8) metadata' related printf() after cninit(). - use atop macro (address to pages) for segment limit calculation instead of i386_btop macro (bytes to pages). - fix style bugs for the declarations of ints. Reviewed by: bde, msmith (and arch & audit ML)
* Change the compute_stats() call to the new devstat_compute_statistics()ken2001-08-111-21/+21
| | | | | | | | interface. Cast the return of the rest of the printfs in here to void. Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* Preprocess ppp.8.m4 into ppp.8, taking into account any compile timebrian2001-08-113-5763/+46
| | | | | | | | | options used to build ppp. Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases. This will be used for the upcoming ipv6 changes, and allows a shared man page between OpenBSD and FreeBSD.
* Note MFC of all the I4B stuff.dd2001-08-112-12/+12
|
* I4B is actually version 1.0.1.dd2001-08-112-2/+2
|
* Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4ume2001-08-111-0/+3
| | | | | | | | | is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in _res.sort_list for backward compatibility. However, both sort_list's are maintaind by just one index _res.nsort. So, when IPv6 address is specified to sortlist, empty entry was created in _res.sort_list. It broke sortlist facility of gethostbyname(). Discussed on users@jp.ipv6.org.
* Set the RUSER for PAM so that (eg) kerberos can set up tickets properly.markm2001-08-111-0/+2
|
* WARNS=2 type cleanup.markm2001-08-112-5/+9
| | | | | | | WARNS=2 cannot be enable because of an unresolvable conflict in arg 2 of execv(). Document this in the Makefile. Reviewed by: bde (su.c only)
* Fix:markm2001-08-111-7/+8
| | | | | | | | | | | | | /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c has couple of bugs which cause: 1) xdm dumps core 2) ssh1 private key is not passed to ssh-agent 3) ssh2 RSA key seems not handled properly (just a guess from source) 4) ssh_get_authentication_connectionen() fails to get connection because of SSH_AUTH_SOCK not defined. PR: 29609 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
* Add sgi_fam 391002, file alteration monitor.schweikh2001-08-111-0/+1
| | | | | | PR: 25925 Submitted by: Jeremy Norris <ishmael27@home.com> MFC after: 5 weeks
* Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', whichkris2001-08-111-2/+0
| | | | | | is the wrong value on FreeBSD). MFC after: 1 week
* Make the name parameter const char *.imp2001-08-114-4/+4
|
* Somewhere along the way, configSecurityModerate() lost it's "int"rwatson2001-08-112-0/+2
| | | | | | return value. Spotted by: gratuitous use of diff during MFC process
* MFCs noted: fsck_msdos(8), kldconfig(8), moused(8) -a.bmah2001-08-112-6/+6
|
* New release note (only about six months late): nmdm(4).bmah2001-08-112-0/+6
|
* Note: mergemaster stopped being optional a long time ago. Caution againstimp2001-08-111-1/+8
| | | | doing it by hand (but provide pointers to those wanting to do it by hand).
* For consistency with other man pages, fix first appearance.mp2001-08-111-2/+2
|
* Don't call errx() with a variable format stringkris2001-08-111-1/+1
| | | | MFC after: 1 week
* Remove unused nmdmpoll function.mp2001-08-111-63/+0
| | | | Approved by: julian
* o Reduce the number of offered security profiles, as we now have a morerwatson2001-08-107-171/+36
| | | | | | | | | | | | | | | | | conservative default, and actually prompt specifically for inetd rather than handling it as a side effect of the security profile. Update the help file to reflect this change. o Rename "Fascist" to "Extreme" in the source code, to match the names presented to the user. o Remove portmap and inetd from profile management. Portmap is now disabled by default, but automatically turned on if a feature requires it (such as NFS, etc). This is an MFC candidate for 4.4-RELEASE. Reviewed by: freebsd-arch@FreeBSD.org Approved by: re@FreeBSD.org MFC after: 2 days
* If we've panic'd already, then just bail in lockmgr rather than blocking orjhb2001-08-101-0/+5
| | | | possibly panic'ing again.
* Make the protoswitch definitiosn checkable in the same way thatjulian2001-08-102-30/+30
| | | | | | | | cdevsw entries have been for a long time. Discover that we now have two version sof the same structure. I will shoot one of them shortly when I figure out why someone thinks they need it. (And I can prove they don't) (netinet/ipprotosw.h should GO AWAY)
* Fix some of the GDB linkage setup. The l_name member of the gdb linkagewpaul2001-08-102-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | structure is always free()ed yet only sometimes malloc()ed. In particular, it was simply set to point to l_filename from the a linker_file_t in link_elf_link_preload_finish(). The l_filename had been malloc()ed inside the kern_linker.c module and was being free()ed twice: once by link_elf_unload_file() and again by linker_file_unload(), leading to a panic. How to duplicate the problem: - Pre-load a kernel module from the loader, i.e. if_sis.ko - Boot system - Attempt to unload module with kldunload if_sis - Bewm The problem here is that the case where the module was loaded with kldload after system boot would work correctly, so this bug went unnoticed until I stubbed my toe on it just now. (Also, you can only trip this bug if you compile a kernel with options DDB, but that's the default now.) Fix: remember to malloc() a separate copy of the module name for the l_name member of the gdb linkage structure in three places where the linkage structure can be initialized.
* Mark some functions as __printflike()kris2001-08-101-3/+3
| | | | MFC After: 1 week
* Add an optimization where we check hte PS_ASTPENDING and PS_NEEDRESCHEDjhb2001-08-101-0/+10
| | | | | | | | | | | | | | flags with interrupts disabled to see if we should call ast() during doreti. This was mostly submitted by Bruce, but his original patch did the looping in ast() in assembly rather than in the ast() function itself. Once we've actually called into the ast() function, it's cheaper to just loop inside the function rather than returning from the function, performing the check, and then calling the function again. However, we can optimize the first check to avoid calling the function at all. Other architectures may choose to implement this optimization if they wish but it is not required for correct operation. Submitted by: bde
* - Close races with signals and other AST's being triggered while we are injhb2001-08-1029-225/+111
| | | | | | | | | | | | | | | | | | | | | | the process of exiting the kernel. The ast() function now loops as long as the PS_ASTPENDING or PS_NEEDRESCHED flags are set. It returns with preemption disabled so that any further AST's that arrive via an interrupt will be delayed until the low-level MD code returns to user mode. - Use u_int's to store the tick counts for profiling purposes so that we do not need sched_lock just to read p_sticks. This also closes a problem where the call to addupc_task() could screw up the arithmetic due to non-atomic reads of p_sticks. - Axe need_proftick(), aston(), astoff(), astpending(), need_resched(), clear_resched(), and resched_wanted() in favor of direct bit operations on p_sflag. - Fix up locking with sched_lock some. In addupc_intr(), use sched_lock to ensure pr_addr and pr_ticks are updated atomically with setting PS_OWEUPC. In ast() we clear pr_ticks atomically with clearing PS_OWEUPC. We also do not grab the lock just to test a flag. - Simplify the handling of Giant in ast() slightly. Reviewed by: bde (mostly)
* Make witness compile w/o DDB.jhb2001-08-101-1/+7
| | | | Reported by: wpaul
* Style cleanup.obrien2001-08-101-2/+2
|
* Arbitrarily limit to 64k the number of bytes that can be read atiedowse2001-08-102-0/+6
| | | | | | | a time using the ogetdirentries() compatibility syscall. This is a hack to ensure that rediculous values don't get passed to MALLOC(). Reviewed by: kris
* Typoimp2001-08-101-1/+5
|
* Close a </sect1> and add a line of whitespace, discovered duringbmah2001-08-101-0/+2
| | | | MFC of 1.3->1.4 delta.
* Work around a race between msleep() and endtsleep() where it was possiblejhb2001-08-101-3/+23
| | | | | | | | | for endtsleep() to be executing when msleep() resumed, for endtsleep() to spin on sched_lock long enough for the other process to loop on msleep() and sleep again resulting in endtsleep() waking up the "wrong" msleep. Obtained from: BSD/OS
* Change callout_stop() to return an integer. If callout_stop() succeeds injhb2001-08-102-3/+4
| | | | | | | | | | removing the callout entry, return 1. If callout_stop() fails to remove the callout entry because it is currently executing or has already been executed, then the function returns 0. The idea was obtained from BSD/OS, however, BSD/OS changed untimeout(), and I've just changed callout_stop() to be more conservative. Obtained from: BSD/OS
* Style nit: covert a couple of if (p_wchan) tests to if (p_wchan != NULL).jhb2001-08-101-3/+3
|
* Use .Fn, .Fa, and .Dv where appropriate.dd2001-08-101-2/+6
|
* Clean up this module very extensively. Fix the logging, the codingmarkm2001-08-1012-1410/+1101
| | | | | standards and the option handling. This module is now much more easy to maintain as a part of the FreeBSD tree.
* Code clean up; make logging same as other modules and fix warnings.markm2001-08-101-3/+9
|
* General code clean-up. Sort out warnings, and make the warning andmarkm2001-08-101-6/+14
| | | | logging work the same as other modules.
* Simplify code. Also verbose logging, verbose overridable error reporting.markm2001-08-101-5/+10
|
* Verbose logging, overridable verbose error reporting.markm2001-08-103-2/+18
|
* Module clean-up. Verbose logging, Overridable verbose error reporting,markm2001-08-101-26/+21
| | | | FreeBSD pam_prompt() usage to simplify conversation function usage.
* Verbosely (overridable) report failure to the user.markm2001-08-101-0/+4
|
* Use the FreeBSD pam_prompt() interface to the conversation functionmarkm2001-08-101-79/+62
| | | | | instead of home-rolling it. Clean up debugging code and tidy the module.
* Verbosely report errors to the user (overridable), and make suremarkm2001-08-101-3/+15
| | | | that the correct failure mode is reported.
* libgmp has been superseded by libmp.dd2001-08-10367-53804/+0
|
* Remove libgmp build infrastructure.dd2001-08-104-287/+0
|
* Change copyright to BSD-style copyright.brian2001-08-102-35/+48
| | | | Ok'd by: Gabor Kincses <gabor@acm.org>
* cvs updated to 1.11.1p1dd2001-08-102-2/+2
|
OpenPOWER on IntegriCloud