Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-04-24 | Introduce a new file, machine/internal_types.h, to hold that specific arch | Marc Espie | |
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others. | |||
2002-04-18 | Provide the correct signal number to the ktrace PSIG information instead | Miod Vallat | |
of an uninitialized variable. millert@ ok | |||
2002-04-10 | don't attach to system processes. | Federico G. Schwindt | |
art@ niklas@ markus@ millert@ deraadt@ ok. | |||
2002-03-21 | Two patches from NetBSD: | Jason Wright | |
- extent_alloc_subregion shouldn't allocate a region pasts the end of subregion. - extent_alloc_subregion1(): when a candidate region doesn't fit after being rounded up to respect boundary limits, adjust newstart and last before skiping to the next region. Otherwise we may check the same candidate region against the start of the next region, no the one immediatly following the hole, leading to corrupted map. | |||
2002-03-17 | Add a DIAGNOSTIC check for when both LK_CANRECURSE and | Artur Grabowski | |
LK_RECURSEFAIL are set. | |||
2002-03-17 | Since LK_RECURSEFAIL and LK_CANRECURSE contradict each other | Artur Grabowski | |
(although they are not opposites), avoid setting LK_CANRECURSE if LK_RECURSEFAIL is set in the caller. | |||
2002-03-15 | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | Todd C. Miller | |
the ANSI way. | |||
2002-03-14 | Don't put a space between a function name and its args in the prototype. | Todd C. Miller | |
2002-03-14 | Don't put a tab between a function and its arguments | Todd C. Miller | |
2002-03-14 | remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵ | Michael Shalayeff | |
they are and declarre 'em accordingly also removing private externies of those | |||
2002-03-14 | version[] is externed in the systm.h and give it some const | Michael Shalayeff | |
2002-03-14 | invalid argv causes efault, not einval; form daniel@lucq.org | Michael Shalayeff | |
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2002-03-14 | generate std ANSI protos, not __P ones | Todd C. Miller | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-14 | Regen after syscall changes (option PTRACE) | Miod Vallat | |
2002-03-14 | Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in | Miod Vallat | |
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks. | |||
2002-03-14 | Whoops. missing simple_unlock. | Artur Grabowski | |
From thorpej@netbsd.org | |||
2002-03-13 | On sparc, PAGE_SIZE and friends might not be a compile-time constant. | Miod Vallat | |
Instead of using a homegrown set of variables in this case, rely on uvmexp fields once uvm has been initialized. This requires a few #include <uvm/uvm_extern.h> here and there in the kernel as well. Idea from art@, changes by me. | |||
2002-03-12 | Change the PT_IO interfaces like discussed on | Artur Grabowski | |
the bsd-api-discuss list. | |||
2002-03-12 | In the PT_STEP case, first set the new pc, then arrange | Artur Grabowski | |
for the single-step. This can slightly break the error handling when setting the sstep fails, but allows us to emulate single stepping in software on arch that don't have support for that in hardware. | |||
2002-03-11 | Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional. | Artur Grabowski | |
They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha. | |||
2002-03-11 | Add a more sane API for reading/writing traced process memory | Artur Grabowski | |
with ptrace - PT_IO. Man page update in a few. | |||
2002-03-08 | semicolon is not always what it seems, replace w/ a \n in asm labels | Michael Shalayeff | |
2002-03-01 | fp doesn't necessarily have to be set when we do the early FRELE. | Artur Grabowski | |
2002-03-01 | sysctl for cryptodevallowsoft - /dev/crypto will allow the software engine | Niels Provos | |
to be used if there are no hardware cards. mostly for debugging and regression. | |||
2002-02-26 | fucntion->function. | Federico G. Schwindt | |
2002-02-25 | Make pool_sethardlimit() check that it doesn't decrease the limit below | Daniel Hartmeier | |
the current size of the pool. ok art@ | |||
2002-02-23 | sysctl kern.usercrypto | Theo de Raadt | |
2002-02-23 | Move out draining of the allocator to an own function and | Artur Grabowski | |
let other parts of the kernel call it. | |||
2002-02-23 | If the allocator has the PA_WANT flag set, return whole pages immediately. | Artur Grabowski | |
2002-02-23 | Fix up some functions. Don't have static all over the place | Artur Grabowski | |
and don't static inline big functions that are called multiple times and are not time critical. | |||
2002-02-22 | EA sync | Dale Rahn | |
2002-02-22 | Extended Attribute support from FreeBSD/TrustedBSD ok art@, deraadt@ | Dale Rahn | |
2002-02-22 | include a siginfo_t with ktrace PSIG information, so that kdump can print | Theo de Raadt | |
fault addresses and other information. (a small bug exists: in some signal delivery cases, two PSIG records may be inserted, because postsig() is unaware a PSIG record has already been placed. but this small bug can stay since the siginfo_t information helps us find and fix other bugs) | |||
2002-02-22 | Fix stack sharing in FORK_VMNOSTACK. | Artur Grabowski | |
Don't assume that the stack is on the top of user address space. And don't assume that the stack grows down. | |||
2002-02-21 | Fix /tmp races. | Miod Vallat | |
This requires the use of a gcc'ism on the cc commandline, though. | |||
2002-02-19 | Heh. Don't assume that sizeof(void *) > sizeof(int). | Artur Grabowski | |
2002-02-19 | Missing FRELE in error case. ok provos@ | Thomas Nordin | |
2002-02-18 | fix issue on LP64 BE arch's w/ fcntl's F_GETOWN | Eric Jackson | |
pointed out by der Mouse <mouse@Rodents.Montreal.QC.CA> | |||
2002-02-18 | Don't do unnecessary normalization. ok art@ | Thomas Nordin | |
2002-02-17 | Patch from Daniel Lucq <daniel@lucq.org> | Mats O Jansson | |
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@ | |||
2002-02-17 | ICANON is a t_lflag, not t_iflag; neelnatu@yahoo.com | Theo de Raadt | |
2002-02-17 | Repeat. But this time get the math right and avoid sleeping forever. | Artur Grabowski | |
2002-02-17 | Enable stackgap_random. Set it initially to 1k. | Artur Grabowski | |
2002-02-16 | Simplify pid selection algorithm. ok art@ deraadt@ | Thomas Nordin | |
2002-02-15 | Improve comment. ok art@ | Thomas Nordin | |
2002-02-15 | undo latest commit for now, it breaks nanosleep | Peter Valchev | |
2002-02-15 | Make rescheduling to a later time faster. ok art@ | Thomas Nordin | |
2002-02-15 | Don't get confused in nanosleep(2) when the time changes. | Artur Grabowski | |
There is no need to use 'time' when we can use 'mono_time'. (oh and now it's faster too) |