Skip to contentSkip to conversation

2.6.25

DISCUSSION Justin Mattock 1 participant 1 message Mar 17, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

Sorry to get you confused, (I feel like a blind man that cant read braille) with fglrx inside the scripting there is a call for KCL_PosixSecurityCapGetEffectiveVector:(below)

KCL_TYPE_Cap ATI_API_CALL KCL_PosixSecurityCapGetEffectiveVector()

{
    return cap_t(current->cap_effective);
}
void ATI_API_CALL KCL_PosixSecurityCapSetEffectiveVector(KCL_TYPE_Cap cap)
{
    cap_t(current->cap_effective) = cap;
}

Like what you said about the bit being changed this is probably what I'm looking at (cap_t is no longer in there)
There error is this:(below)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapGetEffectiveVector':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1888: error:
implicit declaration of function 'cap_t' /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetEffectiveVector':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1896: error:
invalid lvalue in assignment

How hard is it to go in and change the old capability requests to fit the new capability.h ?

Signature · 6 lines
Justin P. Mattock

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.