Closed Kubuxu closed 8 years ago
Problem is that we don't want to allow syscall 2 (open). Lines in question: https://github.com/cjdelisle/cjdns/blob/master/util/Assert.c#L38-L50
Yeah I'm not sure about the whole backtrace printing -- I haven't ever managed to get it to print a proper full backtrace, so it's usefulness is limited.
Only backtrace I get is backtrace of it not being able to print backtrace. If it was not a case then it might been useful.
Wanna make that printf instead?
Might also not work. Cjdns uses stderr
for everything.
list of admin-api calls hiting Attempted banned syscall number.
ETHInterface_listDevices
Security_checkPermissions
Security_nofiles
Security_noforks
Security_seccomp
Security_setupComplete
Core_initTunnel
Security_getUser
Security_setUser
UDPInterface_new
prob wrong thread -- should i make an issue? on cjdns-v17.1-119-g0d845ab-dirty
Those are probably crashing and showing this instead of real stacktrace.
I removed printing trace in cjdelisle/cjdns#878
It was added in cjdelisle/cjdns#778 causes
It is due to call to
open
infprintf
.