Searched hist:1.213 (Results 1 - 25 of 228) sorted by relevance

12345678910

/src/sys/dev/pcmcia/
H A Dpcmciadevs.h1.215 Mon Nov 07 16:39:16 GMT 2005 tsutsui Regen from pcmciadevs rev 1.213:
> Fix pp_cisinfo[0] of the TEAC IDECARDII entry.
> If pp_cisinfo[0] is NULL, current pcmcia_product_lookup()
> never matches the device.

1.213 Sat May 07 17:01:11 GMT 2005 martin Regen.

H A Dpcmciadevs_data.h1.215 Mon Nov 07 16:39:16 GMT 2005 tsutsui Regen from pcmciadevs rev 1.213:
> Fix pp_cisinfo[0] of the TEAC IDECARDII entry.
> If pp_cisinfo[0] is NULL, current pcmcia_product_lookup()
> never matches the device.

1.213 Sat May 07 17:01:11 GMT 2005 martin Regen.

/src/sys/kern/
H A Dkern_subr.c1.213 Sun Jun 10 17:05:18 GMT 2012 mlelstv branches: 1.213.2; 1.213.4;
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.

1.213 Sun Jun 10 17:05:18 GMT 2012 mlelstv branches: 1.213.2; 1.213.4;
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.

1.213 Sun Jun 10 17:05:18 GMT 2012 mlelstv branches: 1.213.2; 1.213.4;
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.

H A Dkern_fork.c1.213 Thu Jun 13 20:20:18 GMT 2019 kamil branches: 1.213.2;
Correct use-after-free issue in vfork(2)

In the previous behavior vforking parent was keeping pointer to a child
and checking whether it clears a PL_PPWAIT in its bitfield p_lflag. However
a child can go invalid between exec/exit event from child and waking up
vforked parent and this can cause invalid pointer read and in the worst
scenario kernel crash.

In the new behavior vforked child keeps a reference to vforked parent LWP
and sets a value l_vforkwaiting to false. This means that vforked child
can finish its work, exec/exit and be terminated and once parent will be
woken up it will read its own field whether its child is still blocking.

Add new field in struct lwp: l_vforkwaiting protected by proc_lock.
In future it should be refactored and all PL_PPWAIT users transformed to
l_vforkwaiting and next l_vforkwaiting probably transformed into a bit
field.

This is another attempt of fixing this bug after <rmind> from 2012 in
commit:

Author: rmind <rmind@NetBSD.org>
Date: Sun Jul 22 22:40:18 2012 +0000

fork1: fix use-after-free problems. Addresses PR/46128 from Andrew Doran.
Note: PL_PPWAIT should be fully replaced and modificaiton of l_pflag by
other LWP is undesirable, but this is enough for netbsd-6.

The new version no longer performs unsafe access in l_lflag changing the
LP_VFORKWAIT bit.

Verified with ATF t_vfork and t_ptrace* tests and they are no longer
causing any issues in my local setup.

Fixes PR/46128 by Andrew Doran

1.213 Thu Jun 13 20:20:18 GMT 2019 kamil branches: 1.213.2;
Correct use-after-free issue in vfork(2)

In the previous behavior vforking parent was keeping pointer to a child
and checking whether it clears a PL_PPWAIT in its bitfield p_lflag. However
a child can go invalid between exec/exit event from child and waking up
vforked parent and this can cause invalid pointer read and in the worst
scenario kernel crash.

In the new behavior vforked child keeps a reference to vforked parent LWP
and sets a value l_vforkwaiting to false. This means that vforked child
can finish its work, exec/exit and be terminated and once parent will be
woken up it will read its own field whether its child is still blocking.

Add new field in struct lwp: l_vforkwaiting protected by proc_lock.
In future it should be refactored and all PL_PPWAIT users transformed to
l_vforkwaiting and next l_vforkwaiting probably transformed into a bit
field.

This is another attempt of fixing this bug after <rmind> from 2012 in
commit:

Author: rmind <rmind@NetBSD.org>
Date: Sun Jul 22 22:40:18 2012 +0000

fork1: fix use-after-free problems. Addresses PR/46128 from Andrew Doran.
Note: PL_PPWAIT should be fully replaced and modificaiton of l_pflag by
other LWP is undesirable, but this is enough for netbsd-6.

The new version no longer performs unsafe access in l_lflag changing the
LP_VFORKWAIT bit.

Verified with ATF t_vfork and t_ptrace* tests and they are no longer
causing any issues in my local setup.

Fixes PR/46128 by Andrew Doran

H A Dvfs_vnops.c1.213 Thu Jun 11 22:21:05 GMT 2020 ad branches: 1.213.2;
Counter tweaks:

- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
each kind of page can be summed to get the totals.

- Track the number of free pages with a counter so that it's one less thing
for the allocator to do, which opens up further options there.

- Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot.
For the cheap option, give cpu_count_sync() a boolean parameter indicating
that a cached value is okay, and rate limit the updates for cached values
to hz.

1.213 Thu Jun 11 22:21:05 GMT 2020 ad branches: 1.213.2;
Counter tweaks:

- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
each kind of page can be summed to get the totals.

- Track the number of free pages with a counter so that it's one less thing
for the allocator to do, which opens up further options there.

- Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot.
For the cheap option, give cpu_count_sync() a boolean parameter indicating
that a cached value is okay, and rate limit the updates for cached values
to hz.

/src/sys/dev/pci/
H A Dpciide.c1.213 Sun Dec 11 00:22:50 GMT 2005 christos branches: 1.213.20; 1.213.22;
merge ktrace-lwp.

1.213 Sun Dec 11 00:22:50 GMT 2005 christos branches: 1.213.20; 1.213.22;
merge ktrace-lwp.

1.213 Sun Dec 11 00:22:50 GMT 2005 christos branches: 1.213.20; 1.213.22;
merge ktrace-lwp.

/src/sys/sys/
H A Dsyscallargs.h1.213 Tue Jan 05 15:25:32 GMT 2010 skrll branches: 1.213.2;
Regen.

1.213 Tue Jan 05 15:25:32 GMT 2010 skrll branches: 1.213.2;
Regen.

H A Dvnode.h1.213 Wed Jan 27 15:34:08 GMT 2010 uebayasi branches: 1.213.2;
Typo in comment.

1.213 Wed Jan 27 15:34:08 GMT 2010 uebayasi branches: 1.213.2;
Typo in comment.

/src/sys/arch/alpha/alpha/
H A Dpmap.c1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

1.213 Sat Dec 24 20:06:46 GMT 2005 perry branches: 1.213.4; 1.213.6; 1.213.8; 1.213.10; 1.213.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

/src/sys/uvm/
H A Duvm_extern.h1.213 Mon May 28 21:04:35 GMT 2018 chs branches: 1.213.2; 1.213.6;
allow tmpfs files to be larger than 4GB.
1.213 Mon May 28 21:04:35 GMT 2018 chs branches: 1.213.2; 1.213.6;
allow tmpfs files to be larger than 4GB.
1.213 Mon May 28 21:04:35 GMT 2018 chs branches: 1.213.2; 1.213.6;
allow tmpfs files to be larger than 4GB.
/src/sys/arch/sparc64/sparc64/
H A Dautoconf.c1.213 Fri Sep 15 13:27:53 GMT 2017 martin branches: 1.213.2; 1.213.4;
If the bootloader passes us information about the boot device lun/target/
and wwn, use those to properly match the boot device.
If the new bootinfo is not available, fall back to the old heuristic
trying to match the pathname of the boot device (which is ugly, firmware
dependend and known to fail in some QEMU configurations).

1.213 Fri Sep 15 13:27:53 GMT 2017 martin branches: 1.213.2; 1.213.4;
If the bootloader passes us information about the boot device lun/target/
and wwn, use those to properly match the boot device.
If the new bootinfo is not available, fall back to the old heuristic
trying to match the pathname of the boot device (which is ugly, firmware
dependend and known to fail in some QEMU configurations).

1.213 Fri Sep 15 13:27:53 GMT 2017 martin branches: 1.213.2; 1.213.4;
If the bootloader passes us information about the boot device lun/target/
and wwn, use those to properly match the boot device.
If the new bootinfo is not available, fall back to the old heuristic
trying to match the pathname of the boot device (which is ugly, firmware
dependend and known to fail in some QEMU configurations).

/src/sys/arch/mips/mips/
H A Dtrap.c1.213 Wed Aug 15 00:07:25 GMT 2007 ad branches: 1.213.2; 1.213.6;
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

1.213 Wed Aug 15 00:07:25 GMT 2007 ad branches: 1.213.2; 1.213.6;
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

1.213 Wed Aug 15 00:07:25 GMT 2007 ad branches: 1.213.2; 1.213.6;
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

/src/sys/arch/i386/i386/
H A Dtrap.c1.213 Sun Jul 23 22:06:05 GMT 2006 ad branches: 1.213.4; 1.213.6;
Use the LWP cached credentials where sane.

1.213 Sun Jul 23 22:06:05 GMT 2006 ad branches: 1.213.4; 1.213.6;
Use the LWP cached credentials where sane.

1.213 Sun Jul 23 22:06:05 GMT 2006 ad branches: 1.213.4; 1.213.6;
Use the LWP cached credentials where sane.

/src/sys/arch/sparc/sparc/
H A Dautoconf.c1.213 Mon Nov 14 03:30:49 GMT 2005 uwe branches: 1.213.2;
ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB.

1.213 Mon Nov 14 03:30:49 GMT 2005 uwe branches: 1.213.2;
ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB.

/src/sys/arch/hpcmips/conf/
H A DGENERIC1.213 Sun Mar 06 17:08:25 GMT 2011 bouyer branches: 1.213.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

1.213 Sun Mar 06 17:08:25 GMT 2011 bouyer branches: 1.213.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

/src/sbin/ifconfig/
H A Difconfig.c1.213 Fri Aug 01 22:29:13 GMT 2008 dyoung branches: 1.213.2;
Extract common code. Create subroutine paddr_prefix_size().

1.213 Fri Aug 01 22:29:13 GMT 2008 dyoung branches: 1.213.2;
Extract common code. Create subroutine paddr_prefix_size().

/src/sys/arch/mac68k/conf/
H A DGENERIC1.213 Wed Jun 05 23:08:01 GMT 2013 christos branches: 1.213.2;
remove obsolete networking options

1.213 Wed Jun 05 23:08:01 GMT 2013 christos branches: 1.213.2;
remove obsolete networking options

/src/sys/ufs/lfs/
H A Dlfs_segment.c1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
1.213 Mon Jun 02 16:25:34 GMT 2008 ad branches: 1.213.8; 1.213.18; 1.213.22;
Use atomics to maintain v_usecount.
/src/
H A DMakefile1.216 Sun Jul 20 13:08:43 GMT 2003 lukem redo previous (functionality rollback of 1.213) to retain the style of 1.213
1.216 Sun Jul 20 13:08:43 GMT 2003 lukem redo previous (functionality rollback of 1.213) to retain the style of 1.213
1.215 Sun Jul 20 13:03:47 GMT 2003 wiz Undo revision 1.213 now that grotty is fixed. Tested by lukem, thanks!
1.213 Fri Jul 18 02:15:17 GMT 2003 lukem grotty from groff 1.19 needs -c for -b, -o or -u to work.

This is damn annoying, because it means the old method of "groff -P-bou"
won't suppress escape codes, unless -P-c is also provided.
(Mmm, quality software...)
/src/sys/fs/puffs/
H A Dpuffs_vnops.c1.213 Tue Nov 06 02:39:49 GMT 2018 manu branches: 1.213.6;
Fix use after RECLAIM in PUFFS filesystems

From hannken@

When puffs_cookie2vnode() misses an entry and vrele() it operations
puffs_vnop_reclaim() and puffs_vnop_fsync() get called with a VNON
vnode.

Do not notify the server in this case as the cookie is stale.

1.213 Tue Nov 06 02:39:49 GMT 2018 manu branches: 1.213.6;
Fix use after RECLAIM in PUFFS filesystems

From hannken@

When puffs_cookie2vnode() misses an entry and vrele() it operations
puffs_vnop_reclaim() and puffs_vnop_fsync() get called with a VNON
vnode.

Do not notify the server in this case as the cookie is stale.

/src/sys/net/
H A Drtsock.c1.213 Thu Jun 01 02:45:14 GMT 2017 chs branches: 1.213.2;
remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

1.213 Thu Jun 01 02:45:14 GMT 2017 chs branches: 1.213.2;
remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

/src/sys/compat/linux/common/
H A Dlinux_misc.c1.213 Sat Dec 05 20:11:17 GMT 2009 pooka branches: 1.213.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.

1.213 Sat Dec 05 20:11:17 GMT 2009 pooka branches: 1.213.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.

/src/sys/dev/ic/
H A Dwi.c1.213 Sun Mar 12 03:22:02 GMT 2006 dyoung branches: 1.213.2;
Note in radiotap header file and manual page that radiotap fields
are little-endian. Fix wi(4) and atw(4) to reflect this fact.

1.213 Sun Mar 12 03:22:02 GMT 2006 dyoung branches: 1.213.2;
Note in radiotap header file and manual page that radiotap fields
are little-endian. Fix wi(4) and atw(4) to reflect this fact.

/src/sys/netinet/
H A Dtcp_usrreq.c1.213 Fri Nov 18 06:50:04 GMT 2016 knakahara branches: 1.213.2;
fix: "ifconfig destory" can stalls when "ifconfig" is done parallel.
This problem occurs only if NET_MPSAFE on.

ifconfig destroy side:
kernel entry point is ifioctl => if_clone_destroy.
pr_purgeif() acquires softnet_lock, and then ifa_remove() calls
pserialize_perform() holding softnet_lock.
ifconfig side:
kernel entry point is socreate.
pr_attach()(udp_attach_wrapper()) calls sosetlock(). In this call path,
sosetlock() try to acquire softnet_lock.
These can cause dead lock.

1.213 Fri Nov 18 06:50:04 GMT 2016 knakahara branches: 1.213.2;
fix: "ifconfig destory" can stalls when "ifconfig" is done parallel.
This problem occurs only if NET_MPSAFE on.

ifconfig destroy side:
kernel entry point is ifioctl => if_clone_destroy.
pr_purgeif() acquires softnet_lock, and then ifa_remove() calls
pserialize_perform() holding softnet_lock.
ifconfig side:
kernel entry point is socreate.
pr_attach()(udp_attach_wrapper()) calls sosetlock(). In this call path,
sosetlock() try to acquire softnet_lock.
These can cause dead lock.

/src/distrib/sets/lists/misc/
H A Dmi1.213 Fri Jul 26 10:34:26 GMT 2019 roy Stop installing 10-wpa_supplicant.
Only install 50-ypbind when MKYP=yes.

Partially addresses PR install/54351.

Completed in 323 milliseconds

12345678910