summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Indicate that the thing not found was not /bin/pwd but rather $CWD (or .).jkh1998-11-211-2/+2
|
* ATTENTION: INSTALL "/etc/pam.conf" FROM "src/etc"!!!jdp1998-11-213-326/+149
| | | | | | | | Change login to use PAM for authentication. I kept the built-in passwd/NIS authentication support, to handle cases where the system is missing its "/etc/pam.conf" file. S/Key and KerberosIV authentication methods are removed from the login program, but still available in PAM modules.
* Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" insteadjdp1998-11-211-2/+2
| | | | | of in "src/usr.bin/login". The latter instance is going away. As soon as ftpd is PAMized, it won't need to use klogin.c at all.
* Eliminate compiler warning.archie1998-11-213-6/+6
|
* Eliminate some ompiler warnings.archie1998-11-211-4/+4
|
* Support NT VFAT lower case flags.dt1998-11-2110-22/+40
| | | | | PR: 8383 (Mostly) Submitted by: Carl Mascott <cmascott@world.std.com>
* Add a sample "/etc/pam.conf" file that configures the authenticationjdp1998-11-202-2/+26
| | | | | | | | | | | | | | | | | | methods used by login. Changes to "/usr/bin/login" to use it will be committed later today. The format of the file is described in pam(8). This sample file makes login behave in the traditional way. To wit, it enables authentication via S/Key and passwd/NIS lookups. KerberosIV authentication is present in the sample file but commented out. As a safety net and a transition aid, login will fall back on built-in passwd/NIS authentication if this configuration file is missing or if some other fatal PAM error occurs. This file will eventually replace "/etc/auth.conf", but not until I've finished converting the other utilities, such as passwd and su.
* Add missing return statement to rl_phy_writereg(). This bug didn't actuallywpaul1998-11-201-2/+3
| | | | | | hurt anything, but it's still a bug. Pointed out by: Jason Wright <jason@thought.net>
* - Added some configuration flags as workaround for not-so-compatibleyokota1998-11-201-52/+88
| | | | | | | | | | | | | | | | | | | | | keyboard/mouse/display switch products (console switches). Some products claim they emulate the PS/2 mouse when the host computer talks to the mouse while the mouse is actually routed to another host. flags 0x200 Do not try to identify the mouse model. All mice will be recognized as "generic PS/2". 0x400 Do not reset the mouse. Some switches' response to the reset command is too slow and the psm will timeout. 0x1000 Relax error checking when probing the mouse port. - Added another flag for pad devices. flags 0x800 Assume the pad behaves like ALPS GlidePoint when the user `taps' the surface of the pad; it will be reported as the fourth button.
* - Added support for Genius Kidspad tablet.yokota1998-11-204-5/+113
| | | | | | | | # `moused' is getting too over-loaded now. If we want something # more than simple mouse emulation for tablets or remote devices, # we should start writing a separate daemon... Submitted by: luigi
* - Added a new option: -w N. The option makes the button N as the `wheelyokota1998-11-202-5/+32
| | | | | | | | | mode' button. Mouse movement will be treated as wheel movement while this button is held down. Useful for mice with many buttons but without a wheel. PR: bin/8001 Submitted by: Hideyuki Suzuki
* - Reorganized a `if-else' close a bit for clarity. Purely cosmeticyokota1998-11-201-21/+22
| | | | change. No functional difference.
* xfer typoobrien1998-11-201-2/+2
| | | | | PR: docs/8723 Submitted by: Junji SAKAI <sakai@jp.freebsd.org>
* amq.8 contains typosobrien1998-11-201-4/+4
| | | | | PR: docs/8433 Reviewed by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* Bad default value of ${fs} for type:=host in /etc/amd.map.obrien1998-11-201-1/+1
| | | | | PR: conf/7054 Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
* Not part of AM-UTILS any longer. Should be build from fixrmtab.in.obrien1998-11-201-24/+0
|
* Fix version number.obrien1998-11-201-2/+2
|
* (1) Remove LOOP_VAR and LOOP_OPTIONS. It's a hack and just too many thingsasami1998-11-201-94/+53
| | | | | | | | | | | | | | | break one way or another. With it goes the package-loop and the describe loop. (2) Add new variable MASTERDIR to make it easier to share files between ports. bsd.port.mk will find things like ${PKGDIR} underneath ${MASTERDIR} (which defaults to ${.CURDIR}). (3) Do not allow MD5_FILE to be renamed. Funny things can happen if you do that. (4) Use a few more absolute paths in the bsd.port.pre.mk part. I can't use absolute paths for sysctl because it moved recently.
* Fix misallocation of buffer bug (too short)archie1998-11-201-1/+1
|
* Make sure libskey is built before libpam. It is required for one ofjdp1998-11-201-15/+17
| | | | | | | the PAM modules. Fix the comments describing the PAM dependencies to be consistent with other related comments.
* Make sure libskey is built before libpam. It is required for one ofjdp1998-11-201-4/+6
| | | | | | | | | | the PAM modules. Fix the comments describing the PAM dependencies to be consistent with other related comments. Restructure the library-building loop slightly, per suggestion from bde.
* Change sd -> da in examples.asami1998-11-191-4/+4
| | | | Inspired by: a mail by Scott Smyth <smyth@bashful.realminfo.com>
* This fixes a bug in the bcache code whereby false cache hits occurpaul1998-11-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the first time block 0 is read. This fix initialises the block numbers to -1 which isn't the most correct thing for a daddr_t but it isn't likely to cause a problem in the boot blocks and it could do with a more thought out fix later. The bug is probably benign on the i386 but on the alpha it can cause initial file opens to fail. This is the cause of the "can't open /boot/boot.conf" errors. It appears on the alpha because of a number of combining factors. On the alpha the LABELSECTOR is 0 so block 0 needs to be read in from the media. The first time this happens you get a false hit because the bc_blkno field is zero initially. Also, the timestamp check against this cache hit succeeds because on the alpha a hacked getsecs() function can return 0 when it starts counting so that the zero initial timestamp + BCACHE_TIMEOUT is greater than the current time until getsecs() has counted passed BCACHE_TIMEOUT. The overall effect is that the first open() that occurs gets a false cache hit and returns garbage to the bd_strategy() function which then fails the open() call. This false hit then stays in the cache until BCACHE_TIMEOUT getsecs() ticks have passed; all open() calls during this time fail. This explains why you can generally access the media by the time you get to interp() and start issuing commands but the earlier attempts to run the boot scripts are failing. It's possible that this is causing the problem switching to the mfsroot floppy as well but I haven't confirmed that.
* Fix a couple of typos.jdp1998-11-192-6/+6
|
* Fixed a null pointer panic in spc_free(). swap_pager_putpages()bde1998-11-191-7/+9
| | | | | | | | | | | almost always causes this panic for the curproc != pageproc case. This case apparently doesn't happen in normal operation, but it happens when vm_page_alloc_contig() is called when there is a memory hogging application that hasn't already been paged out. PR: 8632 Reviewed by: info@opensound.com (Dev Mazumdar), dg Broken in: rev.1.89 (1998/02/23)
* Man page for aio_read(2).jkoshy1998-11-191-0/+189
| | | | Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists.
* Null commit to log that I have repository copied this file fromjdp1998-11-190-0/+0
| | | | | "src/usr.bin/login/klogin.c" in order to preserve its revision history.
* Fix things so that pci interrupts can be registered correctly on apecsdfr1998-11-182-8/+17
| | | | | | and lca machines (which route PCI interrupts through the ISA PIC). Reviewed by: dima
* Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontextdfr1998-11-186-40/+65
| | | | | | | structure for the alpha. These give extra information about some signals (such as SIGSEGV) and should be compatible with Digital Unix. Submitted by: jdp
* Remove -U__NetBSD__dima1998-11-182-4/+4
|
* Mention in the man page that the Accton 1207D adapter is supported.wpaul1998-11-182-4/+6
|
* The Accton 1207D adapter uses a chip called the MXP 5030 (or 5038)wpaul1998-11-182-28/+35
| | | | | | | | | | | | | | which is either a RealTek 8139 in disguise or a RealTek workalike. This commit fixes the PCI vendor/device ID for this device and updates the description string to reflect the actual identity of the device. I also changed the transmit encapsulation routine to always to buffer copies on transmit. We end up doing this 99% of the time anyway. I also tweaked the code that pads packets out to the minimum length (60) bytes. I was fixing up the m_pkthdr.len value but not m_len. I don't think this makes that much difference in the grand scheme of things, but it makes me feel better.
* Null commit to log that I put on my Repository Manager hat andjdp1998-11-180-0/+0
| | | | | | | fixed these files. I had initially imported them onto the vendor branch along with the other sources. As David O'Brien pointed out, that's not proper procedure. They should have been added post-import with "cvs add". All fixed now.
* Fix a minor bug in xl_attach() where the list buffer region is roundedwpaul1998-11-181-3/+3
| | | | | | to a longword boundary. Noticed by: Jason Wright <jason@thought.net>
* Don't use mmap() for non-regular files, since st_size is only meaningfulbde1998-11-181-2/+2
| | | | | | | | for regular files. This fixes recent breakage of cp'ing from /dev/zero. /dev/zero doesn't support mmap(), but the device driver mmap routines are not called for mapping 0 bytes, so the error was not detected. mmap() can't even be used for cp'ing special files that support mmap(), since there is general way to determine the file size.
* Closed a very narrow and rare race condition that involved net interrupts,dg1998-11-182-3/+8
| | | | | | bio interrupts, and a truncated file that along with the precise alignment of the planets could result in a page being freed multiple times or a just-freed page being put onto the inactive queue.
* Fix ROOL UP/DOWN keys of PC-98.kato1998-11-182-6/+6
|
* Updated gencat(1) page from T. Lambert:jkoshy1998-11-181-16/+132
| | | | | | | | | | | | "Here is a new gencat(1) man page. It contains examples and information not in the current man page (e.g., file format) per the X/Open documentation. It also updates some aspects of the X/Open documentation (e.g., the X/Open document neglects to say how to embed a $quote character into a string)." Submitted by: Terry Lambert <tlambert@primenet.com> Review and small corrections by: jkoshy
* Enable the building of libpam. Move libradius and libtacplus up injdp1998-11-181-5/+6
| | | | the list, because they are prerequisites for libpam.
* Add libpam to the "includes" and "libraries" targets.jdp1998-11-181-12/+16
| | | | | | | | Build the ordered list of libraries in a variable "_libs" before building any of them. This eliminates a little bit of duplicated code. More importantly, it makes it easier to include or exclude libraries with .if constructs, because the list can be built in multiple steps using "+=".
* Add LIBPAM, LIBRADIUS, and LIBTACPLUS.jdp1998-11-181-1/+4
|
* Add the directory "/usr/include/security", which is where the PAMjdp1998-11-181-1/+3
| | | | | | header files go. I am not too happy about the name. But if we are to have any hope of being able to use 3rd party PAM modules, we'll have to live with it.
* This commit was generated by cvs2svn to compensate for changes in r41227,jdp1998-11-1821-0/+1631
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Build structure for contribified Linux-PAM, plus some home-grownjdp1998-11-1821-0/+1631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules for FreeBSD's standard authentication methods. Although the Linux-PAM modules are present in the contrib tree, we don't use any of them. The main library "libpam" is composed of sources taken from three places. First are the standard Linux-PAM libpam sources from the contrib tree. Second are the Linux-PAM "libpam_misc" sources, also from the contrib tree. In Linux these form a separate library. But as Mike Smith pointed out to me, that seems pointless, so I have combined them into the libpam library. Third are some additional sources from the "src/lib/libpam" tree with some common functions that make it easier to write modules. Those I wrote myself. This work has been donated to FreeBSD by Juniper Networks, Inc.
* | Build structure for contribified Linux-PAM, plus some home-grownjdp1998-11-181-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules for FreeBSD's standard authentication methods. Although the Linux-PAM modules are present in the contrib tree, we don't use any of them. The main library "libpam" is composed of sources taken from three places. First are the standard Linux-PAM libpam sources from the contrib tree. Second are the Linux-PAM "libpam_misc" sources, also from the contrib tree. In Linux these form a separate library. But as Mike Smith pointed out to me, that seems pointless, so I have combined them into the libpam library. Third are some additional sources from the "src/lib/libpam" tree with some common functions that make it easier to write modules. Those I wrote myself. This work has been donated to FreeBSD by Juniper Networks, Inc.
* | Eliminate a setreuid() call that doesn't make sense for FreeBSD.jdp1998-11-181-0/+2
| | | | | | | | | | We don't use this module, but still I don't want to leave this call in the code.
* | Fix #includes for FreeBSD.jdp1998-11-181-2/+1
| |
* | Don't call openlog() and closelog(). Assume that the applicationjdp1998-11-181-0/+8
| | | | | | | | takes care of that.
* | s/Linux-PAM/PAM/gjdp1998-11-188-43/+37
| |
* | This commit was generated by cvs2svn to compensate for changes in r41220,jdp1998-11-18225-0/+41922
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud