> > So I don't understand why pledge is being added here. > > Because you suggested it back in november...
Of course I suggested it: I believe I said it would be nice if the simplest of X programs were investigated. But everywhere else pledge was inserted, that requires (a) full understanding of what is being done, and (b) full testing. It is not like I said "pledge xclock, noone gives a fuck if it works". > > The addition of > > pledge is breaking xclock. A pledge addition should not break a > > program (coredump) in any circumstance, it should only serve to secure > > it in conditions of true & undetected misbehaviour. Sure, pledge can > > make programs safer, but only if they also keep working!! Otherwise > > this is very much throwing the baby out with the bathwater. > > I see only one solution here: remove the pledge until Xlib can be > changed to read XErrorDB early and then use the in-memory version for > error reporting. > > ok? Probably. Don't hold me responsible for the shortcuts.
