Searched hist:1.243 (Results 1 - 25 of 169) sorted by relevance

1234567

/src/sys/dev/scsipi/
H A Dscsiconf.c1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
1.243 Sun Mar 04 06:02:42 GMT 2007 christos branches: 1.243.14; 1.243.16; 1.243.22; 1.243.24; 1.243.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
/src/sys/arch/sparc/sparc/
H A Dlocore.s1.243 Tue Jan 08 21:32:11 GMT 2008 martin branches: 1.243.6; 1.243.8; 1.243.10; 1.243.12;
cpu_intr_p() for sparc, from Andrew Doran.

1.243 Tue Jan 08 21:32:11 GMT 2008 martin branches: 1.243.6; 1.243.8; 1.243.10; 1.243.12;
cpu_intr_p() for sparc, from Andrew Doran.

1.243 Tue Jan 08 21:32:11 GMT 2008 martin branches: 1.243.6; 1.243.8; 1.243.10; 1.243.12;
cpu_intr_p() for sparc, from Andrew Doran.

1.243 Tue Jan 08 21:32:11 GMT 2008 martin branches: 1.243.6; 1.243.8; 1.243.10; 1.243.12;
cpu_intr_p() for sparc, from Andrew Doran.

1.243 Tue Jan 08 21:32:11 GMT 2008 martin branches: 1.243.6; 1.243.8; 1.243.10; 1.243.12;
cpu_intr_p() for sparc, from Andrew Doran.

H A Dcpu.c1.243 Thu Mar 27 18:22:56 GMT 2014 christos branches: 1.243.2;
correct/add protection against snprintf overflow.

1.243 Thu Mar 27 18:22:56 GMT 2014 christos branches: 1.243.2;
correct/add protection against snprintf overflow.

H A Dautoconf.c1.243 Mon May 28 19:24:29 GMT 2012 martin Pass the "boothowto" from the bootloader to the kernel.
If (an old) bootloader did not pass the flags, check explicitly if we
missed RB_USERCONF and invoke userconf_prompt() in MD code, as MI code
already missed it.
This fixes PR 46466.

/src/sys/kern/
H A Dkern_descrip.c1.243 Wed Feb 20 19:42:14 GMT 2019 christos branches: 1.243.4; 1.243.6;
handle O_NOSIGPIPE too.

1.243 Wed Feb 20 19:42:14 GMT 2019 christos branches: 1.243.4; 1.243.6;
handle O_NOSIGPIPE too.

1.243 Wed Feb 20 19:42:14 GMT 2019 christos branches: 1.243.4; 1.243.6;
handle O_NOSIGPIPE too.

H A Dkern_lwp.c1.243 Wed Jan 13 07:36:56 GMT 2021 skrll branches: 1.243.12;
Improve English in comments

1.243 Wed Jan 13 07:36:56 GMT 2021 skrll branches: 1.243.12;
Improve English in comments

H A Dkern_proc.c1.243 Mon Apr 06 08:20:05 GMT 2020 kamil branches: 1.243.2;
Reintroduce struct proc::p_oppid

Relying on p_opptr is not safe as there is a race between:
- spawner giving a birth to a child process and being killed
- spawnee accessng p_opptr and reporting TRAP_CHLD

PR kern/54786 by Andreas Gustafsson

1.243 Mon Apr 06 08:20:05 GMT 2020 kamil branches: 1.243.2;
Reintroduce struct proc::p_oppid

Relying on p_opptr is not safe as there is a race between:
- spawner giving a birth to a child process and being killed
- spawnee accessng p_opptr and reporting TRAP_CHLD

PR kern/54786 by Andreas Gustafsson

H A Dkern_sysctl.c1.243 Sat Apr 27 20:13:16 GMT 2013 christos branches: 1.243.4;
fix warning
1.243 Sat Apr 27 20:13:16 GMT 2013 christos branches: 1.243.4;
fix warning
H A Dkern_exit.c1.243 Sun Jun 09 01:13:47 GMT 2013 riz branches: 1.243.2; 1.243.6;
Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes
can named the same as those on other platforms.

For example, proc:::exec-success, not proc:::exec_success.

Implementation follows the same basic principle as FreeBSD's; add
another field to the SDT_PROBE_DEFINE macro which is the name
as exposed to userland.

1.243 Sun Jun 09 01:13:47 GMT 2013 riz branches: 1.243.2; 1.243.6;
Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes
can named the same as those on other platforms.

For example, proc:::exec-success, not proc:::exec_success.

Implementation follows the same basic principle as FreeBSD's; add
another field to the SDT_PROBE_DEFINE macro which is the name
as exposed to userland.

1.243 Sun Jun 09 01:13:47 GMT 2013 riz branches: 1.243.2; 1.243.6;
Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes
can named the same as those on other platforms.

For example, proc:::exec-success, not proc:::exec_success.

Implementation follows the same basic principle as FreeBSD's; add
another field to the SDT_PROBE_DEFINE macro which is the name
as exposed to userland.

H A Dkern_exec.c1.243 Fri Mar 09 22:25:56 GMT 2007 matt branches: 1.243.2; 1.243.4;
If STACKALIGN is defined, use it instead of ALIGN. Some arches need a
stack more aligned that ALIGN will give.
1.243 Fri Mar 09 22:25:56 GMT 2007 matt branches: 1.243.2; 1.243.4;
If STACKALIGN is defined, use it instead of ALIGN. Some arches need a
stack more aligned that ALIGN will give.
1.243 Fri Mar 09 22:25:56 GMT 2007 matt branches: 1.243.2; 1.243.4;
If STACKALIGN is defined, use it instead of ALIGN. Some arches need a
stack more aligned that ALIGN will give.
H A Dinit_sysent.c1.243 Mon Dec 14 00:53:32 GMT 2009 matt Regen (new makesyscalls.sh)
H A Dsyscalls.c1.243 Mon Jan 31 00:06:57 GMT 2011 christos regen
/src/sys/arch/amiga/amiga/
H A Dmachdep.c1.243 Mon Mar 24 20:06:31 GMT 2014 christos branches: 1.243.4; 1.243.6;
use cpu_{g,s}etmodel

1.243 Mon Mar 24 20:06:31 GMT 2014 christos branches: 1.243.4; 1.243.6;
use cpu_{g,s}etmodel

1.243 Mon Mar 24 20:06:31 GMT 2014 christos branches: 1.243.4; 1.243.6;
use cpu_{g,s}etmodel

/src/sys/arch/sparc/conf/
H A DGENERIC1.243 Mon Mar 24 14:15:38 GMT 2014 szptvlfn branches: 1.243.4;
fix manual section numbering of sysctl.
thanks wiz@

1.243 Mon Mar 24 14:15:38 GMT 2014 szptvlfn branches: 1.243.4;
fix manual section numbering of sysctl.
thanks wiz@

/src/sys/arch/hpcmips/conf/
H A DGENERIC1.243 Sat Aug 01 08:20:49 GMT 2020 maxv branches: 1.243.2;
Remove references to BRIDGE_IPF, it is now compiled in by default.

1.243 Sat Aug 01 08:20:49 GMT 2020 maxv branches: 1.243.2;
Remove references to BRIDGE_IPF, it is now compiled in by default.

/src/sys/arch/sparc64/sparc64/
H A Dlocore.s1.243 Thu Feb 22 16:29:03 GMT 2007 martin branches: 1.243.4; 1.243.6; 1.243.12;
uvm.page_idle_zero now is a bool, not a 32bit value any more.
1.243 Thu Feb 22 16:29:03 GMT 2007 martin branches: 1.243.4; 1.243.6; 1.243.12;
uvm.page_idle_zero now is a bool, not a 32bit value any more.
1.243 Thu Feb 22 16:29:03 GMT 2007 martin branches: 1.243.4; 1.243.6; 1.243.12;
uvm.page_idle_zero now is a bool, not a 32bit value any more.
1.243 Thu Feb 22 16:29:03 GMT 2007 martin branches: 1.243.4; 1.243.6; 1.243.12;
uvm.page_idle_zero now is a bool, not a 32bit value any more.
/src/sys/dev/
H A DDEVNAMES1.243 Tue Dec 16 02:14:24 GMT 2008 jakllsch branches: 1.243.2;
Add siisata(4) to the lists. From KIYOHARA Takashi.

1.243 Tue Dec 16 02:14:24 GMT 2008 jakllsch branches: 1.243.2;
Add siisata(4) to the lists. From KIYOHARA Takashi.

/src/sys/dev/ic/
H A Dwi.c1.243 Wed Mar 29 09:04:35 GMT 2017 msaitoh branches: 1.243.6;
Fix 0x%d and 0x%u.

1.243 Wed Mar 29 09:04:35 GMT 2017 msaitoh branches: 1.243.6;
Fix 0x%d and 0x%u.

/src/distrib/sets/lists/comp/
H A Dmd.amd641.243 Thu Feb 23 03:34:22 GMT 2017 kamil branches: 1.243.4;
Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64

This interface is modeled after FreeBSD API with the usage.

This replaced previous watchpoint API. The previous one was introduced
recently in NetBSD-current and remove its spurs without any
backward-compatibility.

Design choices for Debug Register accessors:
- exec() (TRAP_EXEC event) must remove debug registers from LWP
- debug registers are only per-LWP, not per-process globally
- debug registers must not be inherited after (v)forking a process
- debug registers must not be inherited after forking a thread
- a debugger is responsible to set global watchpoints/breakpoints with the
debug registers, to achieve this PTRACE_LWP_CREATE/PTRACE_LWP_EXIT event
monitoring function is designed to be used
- debug register traps must generate SIGTRAP with si_code TRAP_DBREG
- debugger is responsible to retrieve debug register state to distinguish
the exact debug register trap (DR6 is Status Register on x86)
- kernel must not remove debug register traps after triggering a trap event
a debugger is responsible to detach this trap with appropriate PT_SETDBREGS
call (DR7 is Control Register on x86)
- debug registers must not be exposed in mcontext
- userland must not be allowed to set a trap on the kernel

Implementation notes on i386 and amd64:
- the initial state of debug register is retrieved on boot and this value is
stored in a local copy (initdbregs), this value is used to initialize dbreg
context after PT_GETDBREGS
- struct dbregs is stored in pcb as a pointer and by default not initialized
- reserved registers (DR4-DR5, DR9-DR15) are ignored

Further ideas:
- restrict this interface with securelevel

Tested on real hardware i386 (Intel Pentium IV) and amd64 (Intel i7).

This commit enables 390 debug register ATF tests in kernel/arch/x86.
All tests are passing.

This commit does not cover netbsd32 compat code. Currently other interface
PT_GET_SIGINFO/PT_SET_SIGINFO is required in netbsd32 compat code in order to
validate reliably PT_GETDBREGS/PT_SETDBREGS.

This implementation does not cover FreeBSD specific defines in their
<x86/reg.h>: DBREG_DR7_LOCAL_ENABLE, DBREG_DR7_GLOBAL_ENABLE, DBREG_DR7_LEN_1
etc. These values tend to be reinvented by each tracer on its own. GNU
Debugger (GDB) works with NetBSD debug registers after adding this patch:

--- gdb/amd64bsd-nat.c.orig 2016-02-10 03:19:39.000000000 +0000
+++ gdb/amd64bsd-nat.c
@@ -167,6 +167,10 @@ amd64bsd_target (void)

#ifdef HAVE_PT_GETDBREGS

+#ifndef DBREG_DRX
+#define DBREG_DRX(d,x) ((d)->dr[(x)])
+#endif
+
static unsigned long
amd64bsd_dr_get (ptid_t ptid, int regnum)
{


Another reason to stop introducing unpopular defines covering machine
specific register macros is that these value varies across generations of
the same CPU family.

GDB demo:
(gdb) c
Continuing.

Watchpoint 2: traceme

Old value = 0
New value = 16
main (argc=1, argv=0x7f7fff79fe30) at test.c:8
8 printf("traceme=%d\n", traceme);

(Currently the GDB interface is not reliable due to NetBSD support bugs)

Sponsored by <The NetBSD Foundation>
1.243 Thu Feb 23 03:34:22 GMT 2017 kamil branches: 1.243.4;
Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64

This interface is modeled after FreeBSD API with the usage.

This replaced previous watchpoint API. The previous one was introduced
recently in NetBSD-current and remove its spurs without any
backward-compatibility.

Design choices for Debug Register accessors:
- exec() (TRAP_EXEC event) must remove debug registers from LWP
- debug registers are only per-LWP, not per-process globally
- debug registers must not be inherited after (v)forking a process
- debug registers must not be inherited after forking a thread
- a debugger is responsible to set global watchpoints/breakpoints with the
debug registers, to achieve this PTRACE_LWP_CREATE/PTRACE_LWP_EXIT event
monitoring function is designed to be used
- debug register traps must generate SIGTRAP with si_code TRAP_DBREG
- debugger is responsible to retrieve debug register state to distinguish
the exact debug register trap (DR6 is Status Register on x86)
- kernel must not remove debug register traps after triggering a trap event
a debugger is responsible to detach this trap with appropriate PT_SETDBREGS
call (DR7 is Control Register on x86)
- debug registers must not be exposed in mcontext
- userland must not be allowed to set a trap on the kernel

Implementation notes on i386 and amd64:
- the initial state of debug register is retrieved on boot and this value is
stored in a local copy (initdbregs), this value is used to initialize dbreg
context after PT_GETDBREGS
- struct dbregs is stored in pcb as a pointer and by default not initialized
- reserved registers (DR4-DR5, DR9-DR15) are ignored

Further ideas:
- restrict this interface with securelevel

Tested on real hardware i386 (Intel Pentium IV) and amd64 (Intel i7).

This commit enables 390 debug register ATF tests in kernel/arch/x86.
All tests are passing.

This commit does not cover netbsd32 compat code. Currently other interface
PT_GET_SIGINFO/PT_SET_SIGINFO is required in netbsd32 compat code in order to
validate reliably PT_GETDBREGS/PT_SETDBREGS.

This implementation does not cover FreeBSD specific defines in their
<x86/reg.h>: DBREG_DR7_LOCAL_ENABLE, DBREG_DR7_GLOBAL_ENABLE, DBREG_DR7_LEN_1
etc. These values tend to be reinvented by each tracer on its own. GNU
Debugger (GDB) works with NetBSD debug registers after adding this patch:

--- gdb/amd64bsd-nat.c.orig 2016-02-10 03:19:39.000000000 +0000
+++ gdb/amd64bsd-nat.c
@@ -167,6 +167,10 @@ amd64bsd_target (void)

#ifdef HAVE_PT_GETDBREGS

+#ifndef DBREG_DRX
+#define DBREG_DRX(d,x) ((d)->dr[(x)])
+#endif
+
static unsigned long
amd64bsd_dr_get (ptid_t ptid, int regnum)
{


Another reason to stop introducing unpopular defines covering machine
specific register macros is that these value varies across generations of
the same CPU family.

GDB demo:
(gdb) c
Continuing.

Watchpoint 2: traceme

Old value = 0
New value = 16
main (argc=1, argv=0x7f7fff79fe30) at test.c:8
8 printf("traceme=%d\n", traceme);

(Currently the GDB interface is not reliable due to NetBSD support bugs)

Sponsored by <The NetBSD Foundation>
/src/sys/nfs/
H A Dnfs_vfsops.c1.243 Sun Jun 13 10:25:11 GMT 2021 mlelstv branches: 1.243.10;
Don't pretend that files are limited to 1TB on NFSv3.
1.243 Sun Jun 13 10:25:11 GMT 2021 mlelstv branches: 1.243.10;
Don't pretend that files are limited to 1TB on NFSv3.
/src/sys/sys/
H A Dsyscallargs.h1.243 Tue Sep 03 21:30:43 GMT 2013 pooka regen
/src/share/misc/
H A Dacronyms1.243 Fri Jan 08 08:37:18 GMT 2016 jnemeth PR/50630 - Nikolai Lifanov -- add some acronyms
/src/sys/arch/sparc64/conf/
H A DGENERIC1.243 Thu Mar 27 00:22:44 GMT 2025 riastradh virtio(4): Consolidate kernel configs.

No functional change intended.

Leave `# XXX ?' comments where I don't know why the driver in
question is excluded. (Typical reason is that PAGE_SIZE is not 4096
but I didn't investigate -- if you do investigate, please either
update the comment if you determine a reason, or enable the driver if
you don't.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs

/src/lib/libc/
H A Dshlib_version1.243 Thu Oct 24 19:37:35 GMT 2013 joerg Add entries for ctor/dtor switch.
/src/lib/libc/sys/
H A DMakefile.inc1.243 Sat May 16 18:31:47 GMT 2020 christos Add ACL support for FFS. From FreeBSD.

Completed in 358 milliseconds

1234567