History log of /netbsd/usr.bin/fstat/misc.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 60c41a92 29-Jul-2023 riastradh <riastradh@NetBSD.org>

sys: Rename sys/miscfd.h -> sys/memfd.h.

Let's not create new dumping grounds for miscellaneous stuff; one
header file for one purpose.


# 128741da 10-Jul-2023 christos <christos@NetBSD.org>

move the memfd struct to a separate file. Requested by riastradh@


# 1dc79398 10-Jul-2023 christos <christos@NetBSD.org>

Add memfd_create(2) from GSoC 2023 by Theodore Preduta


# 09cbfa22 13-Sep-2020 isaki <isaki@NetBSD.org>

Support audio descriptor for fstat(1).
sys/dev/audio/*.h: export only what we need for fstat.


# 74dc1aec 02-May-2020 christos <christos@NetBSD.org>

nuke random stuff that does not exist anymore.


# 875415fc 06-Sep-2019 christos <christos@NetBSD.org>

Add -O to print offsets; align columns properly.


# 2b19590c 03-Feb-2019 thorpej <thorpej@NetBSD.org>

Implement support for "pshared" POSIX semaphores.

Fixes lib/53273 (and Firefox's multi-process tab feature).


# b19347a9 26-Jun-2018 msaitoh <msaitoh@NetBSD.org>

Print BPF direction correctly.


# 8517c9d1 26-Jun-2018 msaitoh <msaitoh@NetBSD.org>

Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

This change also fixes a bug th

Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

show more ...


# b09d27ef 04-Jun-2018 nat <nat@NetBSD.org>

Update fstat for audio(4) and pad(4) devices.

XXX - pullup 8.

Ok christos@.


# 4bf5e2d8 30-Dec-2016 christos <christos@NetBSD.org>

Print the interface for bpf.


# c8f78217 23-Jan-2016 christos <christos@NetBSD.org>

put _KMEMUSER in the Makefile


# 7572f9b1 30-Dec-2015 christos <christos@NetBSD.org>

Add rnd ops.


# a72ef114 10-Aug-2014 tls <tls@NetBSD.org>

Merge tls-earlyentropy branch into HEAD.


# 15f17f4d 01-Jul-2013 riastradh <riastradh@NetBSD.org>

Fix races in /dev/u?random initialization and accounting.

- Push /dev/random `information-theoretic' accounting into cprng(9).
- Use percpu(9) for the per-CPU CPRNGs.
- Use atomics with correct memo

Fix races in /dev/u?random initialization and accounting.

- Push /dev/random `information-theoretic' accounting into cprng(9).
- Use percpu(9) for the per-CPU CPRNGs.
- Use atomics with correct memory barriers for lazy CPRNG creation.
- Remove /dev/random file kmem grovelling from fstat(1).

show more ...


# 47edc100 23-Jun-2013 riastradh <riastradh@NetBSD.org>

Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).

rndsink(9):
- Simplify API.
- Simplify locking scheme.
- Add a man page.
- Avoid races in destruction.
- Avoid races in requesting

Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).

rndsink(9):
- Simplify API.
- Simplify locking scheme.
- Add a man page.
- Avoid races in destruction.
- Avoid races in requesting entropy now and scheduling entropy later.

Periodic distribution of entropy to sinks reduces the need for the
last one, but this way we don't need to rely on periodic distribution
(e.g., in a future tickless NetBSD).

rndsinks_lock should probably eventually merge with the rndpool lock,
but we'll put that off for now.

cprng(9):
- Make struct cprng_strong opaque.
- Move rndpseudo.c parts that futz with cprng guts to subr_cprng.c.
- Fix kevent locking. (Is kevent locking documented anywhere?)
- Stub out rump cprng further until we can rumpify rndsink instead.
- Strip code to grovel through struct cprng_strong in fstat.

show more ...


# f1b7301e 25-Nov-2012 christos <christos@NetBSD.org>

support printing rnd descriptor info


# 1c3439ad 25-Nov-2012 christos <christos@NetBSD.org>

return stuff for ksem


# 43f91cce 27-Oct-2012 alnsn <alnsn@NetBSD.org>

Report jit'ed bpf fildes in fstat.


# be1e960d 10-Sep-2011 christos <christos@NetBSD.org>

add all the possible fileops here, and if there is one we know about
print that instead of the passed name.


# 585ce9ed 13-Jul-2009 christos <christos@NetBSD.org>

move _KMEMUSER higher!


# d96e8759 13-Jul-2009 christos <christos@NetBSD.org>

need _KMEMUSER too.


# f73facbc 13-Jul-2009 christos <christos@NetBSD.org>

sys/mqueue.h needs sys/types.h now


# dadffc77 12-Apr-2009 lukem <lukem@NetBSD.org>

Fix sign-compare issues.


# 90baf4f2 26-Feb-2009 christos <christos@NetBSD.org>

only print warnings if vflg.


12