summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-1369-72/+82
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-13135-293/+77
|
* Remove comment, which didn't even help anyway.asmodai2001-08-131-1/+0
| | | | Submitted by: bde, long ago
* Use interrupt gates instead of trap gates for breakpoint and tracebde2001-08-132-4/+4
| | | | | | | | | traps, so that ddb can keep control (almost) no matter how it is entered. This breaks time-critical interrupts while the system is stopped in ddb, but I haven't noticed any significant problems except that applications become confused about the time. Lost time will be adjusted for later. Anyway, the half-baked disabling of interrupts in Debugger() gives the same problems for the usual way of entering ddb.
* Removed he BPTTRAP() macro and its use. It was intended for restoringbde2001-08-133-12/+6
| | | | | | bug for bug compatibility to ddb trap handlers after fixing the debugger trap gates to be interrupt gates, but the fix was never committed. Now I want the fix to apply to ddb.
* Fixed minor numbers when there is more than one cy card.bde2001-08-133-18/+45
| | | | | | PR: 19256 Submitted by: initial version by yokota MFC after: 1 week
* Honour `TMPDIR' environment variable.sobomax2001-08-131-3/+9
| | | | | | Reviewed by: ru Approved by: ru MFC after: 2 weeks
* Use ttymalloc() instead of a static array of `struct tty'. This willbde2001-08-133-45/+6
| | | | | | | be a regression until `pstat -t' actually understands the results of ttymalloc(). Submitted by: mostly by yokota
* Fix some bogus strncpy(3) to strlcpy(3) changes I made in the previousmike2001-08-131-6/+6
| | | | | | | revision. <utmp.h> structures don't leave room for a NUL character. Also fix "UNKNOWN" which should have just been UNKNOWN. Pointed out by: bde
* Reduce private "lesser known" function redirection to improve clarity.obrien2001-08-135-59/+31
| | | | Approved by: jkh
* Use normal menus instead of radio lists, which seems to be more logicaleric2001-08-122-22/+22
| | | | after the libdialog changes.
* Cross-reference io(4).iedowse2001-08-121-0/+2
|
* Update io(4) to match reality following revision 1.42 ofiedowse2001-08-121-4/+5
| | | | | | | | | sys/i386/i386/mem.c: only the super-user may open /dev/io regardless of the device permissions (just 4 years late!). Also, add cross-reference to i386_{get,set}_ioperm(2). PR: kern/13359
* "New" release note: Removal of wd compatability devices from ata(4).bmah2001-08-122-0/+6
| | | | | | (The release note entry is new, but the fact it documents is not.) Submitted by: silby
* Note MFC of ARIN -> APNIC/RIPE whois(1) queries. While I'm here, addbmah2001-08-122-4/+4
| | | | | | a missing word. Submitted by: mike
* Remove whitespace after %. The whitespace was causing strfile to not seemharo2001-08-121-40/+40
| | | | | the % string section break and thus fortune was producing a rather large multi-fortune fortune message.
* Remove the WANT_INSECURE_OPIE option - it is now a default. This is notmarkm2001-08-126-23/+0
| | | | | | | | nearly as ominous as it sounds, and it allows OPIE to be used over SSH and on xterms. Requested by: ache Discussed on: -security
* o Replace occurrences of strncpy(3) with strlcpy(3); most ofmike2001-08-121-23/+47
| | | | | | | | | | | | | the uses of it were wrong anyway. o Always check for NULL returns on strdup(3). o Fix a possible buffer overflow in strcpy(3). o Fix a format string vulnerability. o t->ty_type in stypeof() could be NULL and eventually cause a segmentation fault in setenv(3), so check for that. Eyeballed by: kris Reviewed by: murray MFC after: 3 days
* Chagne MASTER_SITE_FREEBSD to MASTER_SITE_FREEBSD_ORG, becauseknu2001-08-122-2/+2
| | | | | MASTER_SITE_FREEBSD is already used in bsd.port.mk for some different purpose.
* 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
OpenPOWER on IntegriCloud