History log of /netbsd-src/usr.bin/fstat/misc.c (Results 1 – 25 of 27)
Revision Date Author Comments
# ff3504bd 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.


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

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


# 7eace3da 10-Jul-2023 christos <christos@NetBSD.org>

Add memfd_create(2) from GSoC 2023 by Theodore Preduta


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

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


# 485ee481 02-May-2020 christos <christos@NetBSD.org>

nuke random stuff that does not exist anymore.


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

Add -O to print offsets; align columns properly.


# 68e270a2 03-Feb-2019 thorpej <thorpej@NetBSD.org>

Implement support for "pshared" POSIX semaphores.

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


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

Print BPF direction correctly.


# 3cd62456 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 ...


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

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

XXX - pullup 8.

Ok christos@.


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

Print the interface for bpf.


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

put _KMEMUSER in the Makefile


# 2732a80b 30-Dec-2015 christos <christos@NetBSD.org>

Add rnd ops.


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

Merge tls-earlyentropy branch into HEAD.


# a7f90b2f 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 ...


# 6290b098 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 ...


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

support printing rnd descriptor info


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

return stuff for ksem


# 4d1ae9a9 27-Oct-2012 alnsn <alnsn@NetBSD.org>

Report jit'ed bpf fildes in fstat.


# 48bd4d9c 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