summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-10-16Sync date parsing code with that in date(1) (which is obviously what pax'sTodd C. Miller
date code was based on). It is now possible to specify 4 digit years.
2002-10-16syncTodd T. Fries
2002-10-16move md things into md files (pass 1) as discussed a long time agoTodd T. Fries
ok miod@
2002-10-16when using this file, label and ilabel set the term 'title' and icon labels.Todd T. Fries
they do this by sending to stdout. commands like: 'ftp -o - ftp://blah/foo>foo' do not like having data added to the output stream. since we only define these two functions in an environment where /dev/tty exists, send output to /dev/tty to make sure it does not corrupt the output stream of commands.
2002-10-16License from niels.Artur Grabowski
2002-10-16support for privilege elevation.Jun-ichiro itojun Hagino
with privilege elevation no suid or sgid binaries are necessary any longer. Applications can be executed completely unprivileged. Systrace raises the privileges for a single system call depending on the configured policy. Idea from discussions with Perry Metzger, Dug Song and Marcus Watts. from provos
2002-10-16translation for socket system callJun-ichiro itojun Hagino
from provos
2002-10-16correctly evaluate group predicates.Jun-ichiro itojun Hagino
afrom provos
2002-10-1664bit pedant. %llu is "unsigned long long". markus okJun-ichiro itojun Hagino
2002-10-16scp doesn't need misc.c. markus okJun-ichiro itojun Hagino
2002-10-16Check parameters range. Alexander Yurchenko <grange@rt.mipt.ru>Grigoriy Orlov
costa@ ok.
2002-10-16Fix and improve binat mask comparison.Mike Pechkin
dhartmei@, henning@ ok
2002-10-16Remove the setuid bit from /usr/bin/login. If login is run by a userTodd C. Miller
with a non-zero euid, it will now exec "su -L -l". The only things that need to do this are shells with a "login" builtin and the emulation that su(1) now does is good enough for this purpose.
2002-10-16Add a new flag, -L, to cause su(1) to loop asking for a login/passwordTodd C. Miller
repeatedly until the user authenticates or interrupts things. This will be used to make login(1) no longer setuid.
2002-10-16 don't bork if there's a "calendar" directory in the current directory....Vincent Labrecque
ok millert
2002-10-16enable meta key in emacs mode for 7-bit locales; provos@Todd C. Miller
2002-10-15Time ranges were documented incorrectly; Christian von RoquesTodd C. Miller
We should probably add support for specifying the century too...
2002-10-15localhost variable is not needed; Peter WernerTodd C. Miller
2002-10-15Kafka, Bernhard, Schmidt; ok mickey@Markus Friedl
2002-10-15Protect p_priority with splstatclock.Artur Grabowski
2002-10-15Fix typo introduce in last commitTodd C. Miller
2002-10-15cast NULL varargs sentinel to char * so it is 64 bit on alpha & sparc64Todd C. Miller
2002-10-15Document the fact that calling auth_setitem() with a NULL valueTodd C. Miller
clears (frees) the corresponding value in the auth session.
2002-10-15syncMichael Shalayeff
2002-10-15If auth_setitem() is called with the current value (ie: the pointerTodd C. Miller
is the same as the private value) then just return 0 as there is nothing to do. This fixes a potentially nasty problem where the caller could grab the username or style from the auth session via auth_getitem() and then call auth_verify() with those values. auth_setitem() would eventually get called which would make a private copy and free the old values in the auth session. After all this, the stashed username and/or style pointers would point to freed memory.
2002-10-15Note that when calling auth_verify() with a style and/or username,Todd C. Miller
the old values in the auth session will get freed and the new values added.
2002-10-15Cast NULL sentinel in auth_call() to a pointerTodd C. Miller
2002-10-15improve englishJakob Schlyter
2002-10-15bugs are not bugs no more; pt out by miod@Michael Shalayeff
2002-10-15forth bit on d.b.a.'s anniversary tonightMichael Shalayeff
2002-10-15a few missing options and pseudo-devs, noticed by miod@ and dhartmei@Michael Shalayeff
2002-10-15re-init the hw on resume, from grendel@zeitbombe.orgMichael Shalayeff
2002-10-15Use old-style version number when requiring at least perl 5.6.0.Todd C. Miller
Fixes a portability warning from perl-5.8.0; espie@ OK
2002-10-15correct powerhook proto and a description for the int why; from ↵Michael Shalayeff
grendel@zeitbombe.org
2002-10-15Update Brazil DST based on new rules; from Paul EggertTodd C. Miller
2002-10-15emir kusturicaMichael Shalayeff
2002-10-15columbus dup; from danimal@danimal.orgMichael Shalayeff
2002-10-15support sf2r card with attenuator; from jumbo@ w/ some knf from mickey@Michael Shalayeff
2002-10-15Note that this is based on RFC3378.Jason Wright
2002-10-15missing initmsgbuf(), noticed by miod@Michael Shalayeff
2002-10-15option, not options; hamajima@nagoya.ydc.co.jpTheo de Raadt
2002-10-15Match reality by changing (u_int) -> (int) in comments.Thomas Nordin
2002-10-14New manpage elf(5), from FreeBSD, with minor changes due to differencesMiod Vallat
between OpenBSD and FreeBSD ELF support. Initially written by asmodai@freebsd.org.
2002-10-14Fix from FreeBSD for atlhon problems with mtrr and XFree86. Ok deraadt@Matthieu Herrb
FreeBSD commit messages say: Some BIOSs are using MTRR values that are only documented under NDA to control the mapping of things like the ACPI and APM into memory. The problem is that starting X changes these values, so if something was using the bits of BIOS mapped into memory (say ACPI or APM), then next time they access this memory the machine would hang. This patch refuse to change MTRR values it doesn't understand, unless a new "force" option is given. This means X doesn't change them by accident but someone can override that if they really want to. PR: 28418 Tested by: Christopher Masto <chris at netmonger dot net>, David Bushong <david at bushong dot net>, Santos <casd at myrealbox dot com> Make the MTRR code a bit more defensive - this should help people trying to run X on some Athlon systems where the BIOS does odd things (mines an ASUS A7A266, but it seems to also help on other systems). Here's a description of the problem and my fix: The problem with the old MTRR code is that it only expects to find documented values in the bytes of MTRR registers. To convert the MTRR byte into a FreeBSD "Memory Range Type" (mrt) it uses the byte value and looks it up in an array. If the value is not in range then the mrt value ends up containing random junk. This isn't an immediate problem. The mrt value is only used later when rewriting the MTRR registers. When we finally go to write a value back again, the function i686_mtrrtype() searches for the junk value and returns -1 when it fails to find it. This is converted to a byte (0xff) and written back to the register, causing a GPF as 0xff is an illegal value for a MTRR byte. To work around this problem I've added a new mrt flag MDF_UNKNOWN. We set this when we read a MTRR byte which we do not understand. If we try to convert a MDF_UNKNOWN back into a MTRR value, then the new function, i686_mrt2mtrr, just returns the old value of the MTRR byte. This leaves the memory range type unchanged. I have seen one side effect of the fix, which is that ACPI calls after X has been run seem to hang my machine. As running X would previously panic the machine, this is still an improvement ;-) PR: 28418, 25958 Tested by: jkh, Christopher Masto <chris at netmonger dot net>
2002-10-14Syncronize list of supported devices with pciide(4).Grigoriy Orlov
pointed by miod@
2002-10-14Remove OPTi 82c621 from list of supported devices.Grigoriy Orlov
It disabled in pciide.c deraadt@ ok.
2002-10-14Use uvm_km_valloc_prefer_wait instead of doing the same thing manually.Artur Grabowski
<miod> well, my comments are "looks sane, works for me, ok to commit"
2002-10-14Stuff needed for gcc 3.X.Artur Grabowski
gcc has the nice feature of optimizing various common constructs into more optimal ones, inlining various calls, etc. The problem with that is that it assumes that we have a proper libc backing us. We really don't want to loose all those features by defining -ffreestanding and right now there is no way to just disable some of them, so we have to make the kernel more libc-like in some aspects to make it work with newer gcc. rename putchar to kputchar because it was nothing like libc putchar (and only internal to this function). Implement dummy putchar and puts (not prototyped outside this file).
2002-10-14- Do not try to drain other pools if PR_NOWAIT and the allocator can'tArtur Grabowski
give us pages. PR_NOWAIT most likely means "hey, we're coming from an interrupt, don't mess with stuff that doesn't have proper protection". - pool_allocator_free is called in too many places so I don't feel comfortable without that added protection from splvm (and besides, pool_allocator_free is rarely called anyway, so the extra spl will be unnoticeable). It shouldn't matter when fiddling with those flags, but you never know. - Remove a wakeup without a matching tsleep. It's a left-over from some other code path that I've been investigating when reworking the pool a while ago and it should have been removed before that commit. deraadt@ ok
2002-10-14.Cm inside .Bd -literal screws upTheo de Raadt