00:06:19 not a signal but I believe getppid() will change when the parent dies. 00:07:12 if you control both processes you can have the parent create a pipe, retain the write end, and pass the read end to the child; child will get an EOF when the parent goes away and closes the write end of the pipe. 00:22:06 Perhaps you can use a contract? 00:28:08 yeah, i was wondering about a contract... 00:31:08 i'm working on getting the tss2-libs building on illumos.. and there's multiple 'backend' libraries (they call them transports) .. more or less plugins, and one of them is where it spawns a command (presumably some sort of tpm emulator, though I guess it doesn't really matter) and talks over a pipe 00:31:28 from what I can gather, I think the intention is so that the child thing it spawns won't get orphaned if the calling parent dies 00:32:08 looks like it uses prctl on linux and procctl on fbsd 00:34:53 (I can also skip that backend for now) 00:43:13 this way i have a bit more to work with when testing out my driver vs. using artisinal hand crafted tpm2 byte streams 00:43:16 :) 00:51:16 jbk: If you want to ensure that the child doesn't get orphaned when it dies, then this is more straightforward. 00:51:30 This is what ctrun -o noorphan does. 00:51:40 So logically you can do the equivalent in the backend I guess? 00:56:11 oooh that'd work i bet 17:32:08 hello all, is there any plan to Introduce SM4 encryption algorithm for illumos/zfs ? http://gmssl.org/english.html 17:43:41 i don't think i've seen anyone talk about, so I don't think anyone has any plans to 17:44:36 but absent some other reason (licensing, etc) that'd prevent it (I'm not familiar with SM4, so not sure how relevant those would be), i don't think there'd be anything that'd stop someone from adding it if they wanted to 17:51:42 [illumos-gate] 15913 zfs: get_special_prop() should also check for ZFS_TYPE_SNAPSHOT -- Toomas Soome 18:39:04 one more question, the openzfs 2.2 released recently, there are many improvement, such as draid/ fast dedup/ disk expantion/ (not sure z.i.a and direct io), I read the docs from openzfs.org says illumos(omnios and smartos) is distributions, so I’m confuse if omnios or smartos had already with the feature already in recent build? if not contain the feature, when it will be merged? best wishes 18:39:16 a big thanks for the answer 19:47:13 i think the answer is yes, but if I make a device driver fm-aware, there's no other restrictions on when I can generate ereports (nothing may be looking at them, but that's fine), right? 19:47:30 i think every instance i've ever seen of them is basically after checking DMA operations 19:48:37 so just want to be sure there's not some additional assumptions there i've not discovered 19:49:39 e.g. if a request to a device times out, it seems like it might be nicer to generate an ereport w/ more detailed information (the request, etc.) vs. just spitting something out to the messages file 20:03:55 I think the fma prm is somewhere, but I don't have a copy, it might help. 20:14:24 hrm.. i think i might have a copy of that somewhere... i'll dig around and see if I can find it and see if that helps 20:15:33 Aside from generating the need to eventually write that up so it's not unexpected telemetry, the CONTEXT page of ddi_fm_ereport_post() indicates that you can use it any time. 20:16:09 [illumos-gate] 16063 SMB server login fails in non-global zone after 15965 -- Gordon Ross 21:14:11 i think i've floated the idea in here before, but do you think adding a vmem arena for memory sensitive crypto data (e.g. keys) so it could be excluded by default in crash dumps (like zfs data is) is something that'd need an IPD? 21:14:20 or enough to just have a ticket on it? 21:17:08 probably depends on how complex the implementation is, I think probably just file an RFE? 21:17:12 if it gets complicated, write it up 21:17:38 there might be interesting questions about what guarantees we can make, I'm not sure 21:38:47 I think the other bit for consideration is understanding how much data is it, what throughput, what caches are needed, etc. 21:41:47 my thought was just to make it like kvmm_arena or zio_alloc_arena -- really just so it can be skipped during a crash dump (unless there's an easier way, but that seems to be the precedent) 21:43:21 I think the challenge / question is what is the policy around sizing this? Do you import more at run-time if it runs out? 21:44:32 i'm thinking mostly keys stored in the kernel 21:45:47 I think even if it's not for the contexts that operate on them, it's worth spelling out those policies. 21:46:05 Despite our druthers, memory is finite. 21:46:35 yeah, there might be more interesting future things that could be done, but my goal is just to get encryption keys out of crash dumps 21:46:41 at least the immediate goal 21:47:08 I get it. I'm not disagreeing with you. Just think the work needs to answer that.