Conversation
Notices
-
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Wednesday, 26-Jul-2023 06:21:43 JST James Morris Wrong answers only: what does this kernel code do?
struct file *file = (struct file *)(v & ~3);-
Embed this notice
Studio 8502 :verified: (mos_8502@oldbytes.space)'s status on Wednesday, 26-Jul-2023 06:41:14 JST Studio 8502 :verified: @jmorris Frobnicates the reticulated splines.
James Morris likes this. -
Embed this notice
Arnd Bergmann (arnd@society.oftrolls.com)'s status on Wednesday, 26-Jul-2023 06:41:25 JST Arnd Bergmann @jmorris this returns a pointer to the inode of the third open file descriptor of the current thread, i.e stdout.
James Morris likes this. -
Embed this notice
Kees Cook :tux: (kees@fosstodon.org)'s status on Wednesday, 26-Jul-2023 08:15:21 JST Kees Cook :tux: @jmorris Gives me a stroke.
James Morris likes this. -
Embed this notice
penguin42 (penguin42@mastodon.org.uk)'s status on Wednesday, 26-Jul-2023 08:15:27 JST penguin42 @jmorris Something truly wonderful on a 64bit host?
James Morris likes this. -
Embed this notice
Mans R (mansr@society.oftrolls.com)'s status on Wednesday, 26-Jul-2023 08:15:29 JST Mans R @jmorris It returns a file pointer with the world write and execute bits cleared.
James Morris likes this. -
Embed this notice
keithp (keithp@fosstodon.org)'s status on Friday, 28-Jul-2023 01:13:09 JST keithp James Morris likes this. -
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Friday, 28-Jul-2023 01:14:07 JST James Morris @arnd officially the best answer. -
Embed this notice
Jason Bowen (jbowen@mast.hpc.social)'s status on Friday, 28-Jul-2023 01:24:21 JST Jason Bowen @jmorris Gives you a file that's approximately 3 big.
James Morris likes this. -
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Friday, 28-Jul-2023 01:25:28 JST James Morris Bonus points for identifying the author of the code. Hint: his initials are LT.
-
Embed this notice