16:49:51 hello 16:53:54 [illumos-gate] 16096 want proc_get_lwpstatus(3PROC) -- Robert Mustacchi 20:28:12 [illumos-gate] 16107 asy VERIFY too strong in face of polledio -- Patrick Mooney 20:36:01 Happy new CPU bug! https://www.vusec.net/projects/slam/ (though it only affects Intel & ARM CPUs that haven't shipped to the public yet, but some AMD ones that have) 20:38:47 my complete slacking on ARM paging pays off again! 21:20:46 Storing information in pointers... sheesh, Macintosh System 1 did that, for crying out loud! 21:32:59 heh, I remember the 24-bit -> 32-bit pointer change in the old Mac Systems back when I had a Mac II 21:34:21 of course, we do that on recent SPARC systems for pointer checking with ADI, but that's more like ARM's Memory Tagging than ARM's Top-Byte Ignore 21:39:50 (I haven't looked at memory tagging either!) 21:39:59 I looked at pointer auth tho 21:40:05 didn't do anything, but I looked 21:42:57 danmcd: I mean, that's why OI force an /etc/system tweak to leave some bits free for javascript runtimes etc. 21:43:28 TBI is basically doing that, but without having to mask them off constantly 21:43:48 (at the expense of what alan's link talks about, re: address canonicity.) 21:44:14 (to be clear, the /etc/system tweak is so we don't put runtimes at an address that _requires a bit they use for type tagging_) 21:44:14 @alanc gets it. :) And thank you richlowe for the clarification. 21:44:45 and I remember the mac brouhaha, but thankfully only second hand 21:45:03 and I was impressed with amd64 making the VA hole checked and very cautious 21:45:12 so it's impossible to try to steal those bits, and get screwed the same way 21:45:29 right, we have to do that with javascript runtimes as well, many of which assume only 48 bits of pointers matter, and won't be happy with 53-bit address busses 21:45:58 though we do it via linker flags instead of /etc/system 21:46:22 actual flags, or something like map.above4G etc? 21:46:24 (well, linker flags to load a special mapfile) 21:46:59 that makes more sense 21:47:22 https://github.com/oracle/solaris-userland/blob/acfe23025ffac8c2f600ebc4f259df46a3b84820/components/desktop/firefox/patches/sparc-47bit-VA-space.patch 21:48:50 https://github.com/search?q=repo%3Aoracle%2Fsolaris-userland+reserve_segment&type=code 21:50:17 maybe shipping that in /usr/lib/ld would make sense? 21:51:10 and dare I ask about https://github.com/oracle/solaris-userland/blob/acfe23025ffac8c2f600ebc4f259df46a3b84820/components/gnome/gnome-shell/mapfile.js#L3? :) 21:51:22 we don't want to encourage it, but I suppose it's too late to pretend no one should ever need it 21:52:07 my logic was "It's probably better to ship one, that does it properly, then keep adding them to solaris-userland and also not helping 3rd parties" 21:52:26 than* 21:52:32 yeah 21:52:35 but it's not like I did that for us :) 21:55:21 what about that line did you want to ask? 21:56:32 it sets the p_vaddr in the Program Header to the start of the range that overlaps with the bits set in the pointers 21:56:40 Program Header[5]: spidermonkey_reserve 21:56:40 p_vaddr: 0x800000000000 p_flags: 0 21:56:40 p_paddr: 0 p_type: [ PT_SUNW_RESERVE ] 21:56:40 p_filesz: 0 p_memsz: 0xffff7fffffff0000 21:56:40 p_offset: 0 p_align: 0x100000 22:00:21 alanc: sorry, the line-link was an accent. I meant `mapfile.js` 22:00:25 accident, even 22:01:08 gnome-shell uses libmozjs to run javascript code - that's what gnome-shell extensions are written in 22:02:02 ah, so it's a mapfile for javascript 22:02:09 so same javascript engine as firefox, same problem with addresses 22:02:11 named so as to piss off editor syntax selection 22:02:18 ah, yes, hehe 22:03:07 not a new syntax for mapfiles, just following the convention of mapfile. 22:03:40 though I guess /usr/lib/ld just uses map. as a naming convention instead