ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
mraynal has quit [Remote host closed the connection]
mraynal has joined #armlinux
apritzel has quit [Ping timeout: 248 seconds]
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #armlinux
jwerner has joined #armlinux
pg12 has quit [Ping timeout: 252 seconds]
pg12 has joined #armlinux
iivanov has joined #armlinux
mvaittin has quit [Ping timeout: 260 seconds]
monstr has joined #armlinux
monstr has quit [Ping timeout: 258 seconds]
monstr has joined #armlinux
elastic_dog has quit [Ping timeout: 255 seconds]
mvaittin has joined #armlinux
nsaenz has joined #armlinux
elastic_dog has joined #armlinux
nsaenz has quit [Ping timeout: 258 seconds]
nsaenz has joined #armlinux
pg12 has quit [Remote host closed the connection]
pg12 has joined #armlinux
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
prabhakarlad has joined #armlinux
monstr has quit [Ping timeout: 252 seconds]
ezulian has joined #armlinux
headless has joined #armlinux
ezulian has quit [Client Quit]
ezulian has joined #armlinux
sszy has joined #armlinux
rockosov has quit [Ping timeout: 260 seconds]
monstr has joined #armlinux
rockosov has joined #armlinux
<lag> Any selinux gurus around to explain some magic to me please?
<lag> How does an identifier like `MSGQ__GETATTR` get converted into a u32?
<ukleinek> ..ooOO(/me would guess either using fairy dust or cpp)
<lag> I'm hedging on fairy dust and gemstones!
<lag> Ah, so you think it's compiler nonsense?
<lag> Seems fragile: error: use of undeclared identifier 'IO_URING__SQPOLL';
<lag> So where do I look to see what's missing?
<phh> definitely cpp
<lag> Okay, so that's one step in the right direction - thanks for the info
<lag> Next question is; how do I go about debugging this? Do these identifiers need to also reside in cpp, or does it pluck them from another part of the kernel source?
<ukleinek> lag: note that's I'm not a selinux guru and cpp was just a guess
<lag> ukleinek: phh also seems pretty certain :)
* ukleinek nods
<phh> i'm making a quick check, just in case i'm wrong
<lag> My assumption is that cpp (or whatever is conducting the incantation) is splitting the two parts, but that means "IO_URING" and "SQPOLL" should be defined somewhere, right?
<ukleinek> that would involve deep cpp magic indeed. Maybe fairy dust isn't that bad a guess :-)
<phh> yeah well my knowledge of selinux if on Android and it looks like it doesn't apply properly here, so maybe don't listen to me
* ukleinek wouldn't be surprised if lag cares for the Android variant of SELinux, too
<phh> ukleinek: there is nothing upper case like that in android selinux
<lag> I'm glad it's not just me - thought I was losing my touch :)
<j`ey> damn, that stuff seems earlier than the v2.6 that git was started with
<lag> j`ey: Yep, I came to the same conclusion
<lag> It's lacking documentation as well, right? I had a little look ...
apritzel has joined #armlinux
<robmur01> lag: hmm, in my current 6.6-rc3 tree it's defined in security/selinux/av_permissions.h
<lag> robmur01: Which one?
<lag> IO_URING__SQPOLL?
<robmur01> MSGQ__*
<j`ey> is that generated?
<j`ey> (yes)
<lag> Okay, that's interesting - let me see if I can fine what generates it
<j`ey> scripts/selinux/genheaders/genheaders.c
<robmur01> oh indeed there's also a couple of IO_URING__* macros too
<lag> robmur01: I see them - awesome! That's another step forward, thanks
<j`ey> I guess in this tree I dont have the security subsystem enabled
<robmur01> heh, actually it seems that file is dated April 2022, so quite possibly left over from when I last built Android kernels in this tree :)
<lag> I have it - mystery solved - thanks again everyone!
headless has quit [Quit: Konversation terminated!]
sudeepholla_ has quit [Ping timeout: 245 seconds]
sudeepholla_ has joined #armlinux
sudeepholla_ has quit [Ping timeout: 246 seconds]
sudeepholla_ has joined #armlinux
sudeepholla_ has quit [Ping timeout: 240 seconds]
sudeepholla_ has joined #armlinux
heat has joined #armlinux
mripard has quit [Remote host closed the connection]
cbeznea has joined #armlinux
cbeznea_ has quit [Ping timeout: 244 seconds]
mvaittin has quit [Ping timeout: 258 seconds]
amitk has joined #armlinux
amitk has quit [Ping timeout: 260 seconds]
amitk has joined #armlinux
amitk has quit [Ping timeout: 244 seconds]
amitk has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
monstr has quit [Remote host closed the connection]
heat has quit [Ping timeout: 245 seconds]
torez has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
headless has joined #armlinux
apritzel has quit [Ping timeout: 264 seconds]
amitk has quit [Remote host closed the connection]
headless has quit [Quit: Konversation terminated!]
iivanov has quit [Quit: Leaving]
cbeznea has quit [Ping timeout: 255 seconds]
<ukleinek> arnd: your suggestion about merging my soc: Convert to platform remove callback returning void sounds fine to me
<ukleinek> thx
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
robclark has quit [Ping timeout: 252 seconds]
dianders has quit [Ping timeout: 252 seconds]
robclark has joined #armlinux
linusw__ has quit [Ping timeout: 252 seconds]
dianders has joined #armlinux
linusw__ has joined #armlinux
apritzel has joined #armlinux
nsaenz has quit [Remote host closed the connection]
amitk_ has quit [Ping timeout: 240 seconds]
prabhakarlad has joined #armlinux
sukrutb has quit [Ping timeout: 255 seconds]
sukrutb has joined #armlinux