[lkml]   [2004]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] [PATCH] [0/6] LSM Stacking
> One issue:  I'm seeing this from /usr/sbin/sendmail:
> % /usr/sbin/sendmail
> drop_privileges: setuid(0) succeeded (when it should not)
> I've not tracked down what's causing this indigestion yet (I suspect some
> bad interaction with capabilities - that's what caused that message to be
> added to Sendmail in the first place).

Chris had mentioned the stacker_capable not being quite right. I'm
looking at it now, and yeah, it's a little convoluted. I think a simpler

if (!stacked_modules) {
/* same as before

final_result = 0;
for (m = stacked_modules; m; m = m->next) {
result = (m->module_operations).capable(tsk,cap);
if (result && !final_result) {
final_result = result;
if (short_circuit_capable)
return final_result;

should be correct.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.069 / U:9.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site