[PATCH] Use mach_port_name_t in a few more places

2022-11-30 Thread Flavio Cruz
A few places that I missed in 958686efa2175abe3f7044890c2c2370e29147f2. --- ipc/mach_debug.c | 2 +- ipc/mach_msg.c | 2 +- ipc/mach_port.c | 6 +++--- ipc/port.h | 9 - 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c index 1f386

Re: [PATCH] Make task_info.h structs more portable

2022-11-30 Thread Flavio Cruz
On Wed, Nov 30, 2022 at 10:21:28PM +0100, Samuel Thibault wrote: Flavio Cruz, le mer. 30 nov. 2022 02:10:16 -0500, a ecrit: @table @code -@item natural_t faults +@item unsigned int faults number of page faults -@item natural_t zero_fills +@item unsigned int zero_fills number of zero fill pag

Re: lost ssh access - where is a log?

2022-11-30 Thread Riccardo Mottola
Hi Samuel, Samuel Thibault wrote: See this post: https://toot.aquilenet.fr/@bugaevc@floss.social/109422315762760554 indeed, the mkdir /run/sshd/dev settrans -ac /run/sshd/dev/urandom /hurd/random trick gave me a working ssh, probably unsecure  as Sergey writes, but at least it proves we ha

Re: [PATCH] Update ipc/ directory to use mach_port_name_t

2022-11-30 Thread Samuel Thibault
Hello, Thanks for this! Flavio Cruz, le mer. 30 nov. 2022 02:14:20 -0500, a ecrit: > Make it explicit where we use port names versus actual ports. For the 64 > bit kernel, port names and ports are of different size so this corrects > the syscall arguments and internal structs to have the right si

Re: [PATCH] Make task_info.h structs more portable

2022-11-30 Thread Samuel Thibault
Flavio Cruz, le mer. 30 nov. 2022 02:10:16 -0500, a ecrit: > @table @code > -@item natural_t faults > +@item unsigned int faults > number of page faults > > -@item natural_t zero_fills > +@item unsigned int zero_fills > number of zero fill pages > > -@item natural_t reactivations > +@item un

Re: lost ssh access - where is a log?

2022-11-30 Thread Samuel Thibault
Riccardo Mottola, le mer. 30 nov. 2022 21:08:23 +0100, a ecrit: > Hi Samuel, > > Samuel Thibault wrote: > > > It is one year old. > > ? No, it's 2 days old. See the workaround he posted there. > > Sorry, I was somehow misled, I don't know. Not accustomed to microblogging I > gues. > > I see the

Re: lost ssh access - where is a log?

2022-11-30 Thread Riccardo Mottola
Hi Samuel, Samuel Thibault wrote: It is one year old. ? No, it's 2 days old. See the workaround he posted there. Sorry, I was somehow misled, I don't know. Not accustomed to microblogging I gues. I see the several hacks about accessing /dev/urandom as well as having comments about arc4ran

Re: lost ssh access - where is a log?

2022-11-30 Thread Samuel Thibault
Riccardo Mottola, le mer. 30 nov. 2022 18:51:35 +0100, a ecrit: > Guy-Fleury Iteriteka wrote: > > There is a thread from bugaev that explain the issue and a partial fix : > > > > https://floss.social/@bugaevc/109422269238549581 > > It is one year old. ? No, it's 2 days old. See the workaround he

Re: lost ssh access - where is a log?

2022-11-30 Thread Riccardo Mottola
Hello! Guy-Fleury Iteriteka wrote: There is a thread from bugaev that explain the issue and a partial fix : https://floss.social/@bugaevc/109422269238549581 It is one year old... anyone experiencs my issues? I am puzzled: up to the day before my post, I was able to ssh in and it was a fresh