Thread (11 messages) 11 messages, 3 authors, 2021-12-21

Re: [PATCH v5 3/5] fs: split off do_getxattr from getxattr

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-12-21 19:18:27
Also in: linux-fsdevel

On Tue, Dec 21, 2021 at 11:15 AM Stefan Roesch [off-list ref] wrote:
Linus, if we remove the constness, then we either need to cast away the constness (the system call
is defined as const) or change the definition of the system call.
You could also do it as

        union {
                const void __user *setxattr_value;
                void __user *getxattr_value;
        };

if you wanted to..

                 Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help