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