Skip to contentSkip to conversation

why do we need atomic_set_unchecked

DISCUSSION johnspaul92 2 participants 2 messages May 27, 2013

lore
Share & tools
lore
#0 lore raw

When i tried to apply the GrSecurity patch on linux kernel 3.10 and there the patch actually modifies atomic_set to atomic_set_unchecked. When i checked the gcc patch to compile this code it just redefines atomic_set as atomic_set_unchecked. So what is the use of changing the function name.?? Am I missing something here(i.e have they given a new definition for this function anywhere else). And i would also like to know what this function(atomic_set_unchecked. I know about the atomic_set function) is used for.

--
View this message in context: http://linux-kernel.2935.n7.nabble.com/why-do-we-need-atomic-set-unchecked-tp656004.html
Sent from the Linux Kernel mailing list archive at Nabble.com.

#1 lore raw
Quoted 8 lines · On Mon, May 27, 2013 at 9:47 AM, johnspaul92 <[email protected]> wrote:

When i tried to apply the GrSecurity patch on linux kernel 3.10 and there the patch actually modifies atomic_set to atomic_set_unchecked. When i checked the gcc patch to compile this code it just redefines atomic_set as atomic_set_unchecked. So what is the use of changing the function name.?? Am I missing something here(i.e have they given a new definition for this function anywhere else). And i would also like to know what this function(atomic_set_unchecked. I know about the atomic_set function) is used for.

Isn't this a question for the grsecurity developers?

--
Thanks,
//richard