Re: fw_update lock_db should exit when parent exits

2023-08-24 Thread Andrew Hewus Fresh
On Thu, Aug 24, 2023 at 06:53:27AM -0600, Todd C. Miller wrote: > On Wed, 23 Aug 2023 18:23:40 -0700, Andrew Hewus Fresh wrote: > > > I would have to see an example of doing that between ksh and perl. > > Standard output should already be a pipe in the perl process by > virtue of running as a

Re: dt(4), hardclock(9): move interval, profile providers to dedicated callback

2023-08-24 Thread Martin Pieuchot
On 23/08/23(Wed) 18:52, Scott Cheloha wrote: > This is the next patch in the clock interrupt reorganization series. Thanks for your diff. I'm sorry but it is really hard for me to help review this diff because there is still no man page for this API+subsystem. Can we start with that please? >

vmd: fix i8259 race condition, vioblk hang

2023-08-24 Thread Dave Voutila
mbuhl@ found an issue where the emulated virtio block device can hang. The tl;dr: the emulated pic never injects an interrupt and the vioblk(4) driver in the guest starves, waiting to be told to check the virtqueue. Flipping the bit in the i8259 using gdb causes the spice to flow once again.

Re: ping.c modifications proof of concept

2023-08-24 Thread Peter J. Philipp
On Thu, Aug 24, 2023 at 09:22:07AM -0400, A Tammy wrote: > I don't think having a daemon for ping (or other trivial network > operations) might be the best design. There's nothing about the service > that demands a continuously running process in the background. > > Aisha Ok Aisha, thanks. Well

Re: ping.c modifications proof of concept

2023-08-24 Thread A Tammy
On 8/24/23 05:59, Peter J. Philipp wrote: > Hi, > > I have modified ping(8) to grab a raw descriptor from a daemon over AF_UNIX > sockets. This seems to work. While what I call the sun daemon needs to be > tightened a lot more it should work to make people understand my concept. > > benefits: >

Re: fw_update lock_db should exit when parent exits

2023-08-24 Thread Todd C . Miller
On Wed, 23 Aug 2023 18:23:40 -0700, Andrew Hewus Fresh wrote: > I would have to see an example of doing that between ksh and perl. Standard output should already be a pipe in the perl process by virtue of running as a co-process. In theory you should be able to poll on it checking for POLLHUP.

ping.c modifications proof of concept

2023-08-24 Thread Peter J. Philipp
Hi, I have modified ping(8) to grab a raw descriptor from a daemon over AF_UNIX sockets. This seems to work. While what I call the sun daemon needs to be tightened a lot more it should work to make people understand my concept. benefits: we lose inet pledge we lose the setuid to root bit root

Re: [patch] netcat: support --crlf

2023-08-24 Thread Pietro Cerutti
On Aug 24 2023, 01:02 UTC, Damien Miller wrote: On Wed, 23 Aug 2023, Pietro Cerutti wrote: Hi, here at FreeBSD, we vendor in your netcat with a few local modifications. I'm working on adding support to --crlf. I have a diff against the FreeBSD version here: