[OpenAFS] Linux 2.6.10-rc2 osi_misc.c structure has no member
named `rlim'
Matt Benjamin
matt@linuxbox.com
Mon, 06 Dec 2004 09:28:19 -0500
1. on x86, current is an inline function which returns a pointer to the
task_struct associated with the current process, it's defined in an
arch-specific header (eg, include/asm-i386/current.h)
2. what Derek said
IIRC, this and the EXIT_ZOMBIE are the only issues you'll run into, in
making libafs, at least.
Matt
Derrick J Brashear wrote:
> On Mon, 6 Dec 2004, Helmut Jarausch wrote:
>
>> Hi,
>> here is my next problem with the Linux 2.6.10-rc2 kernel.
>> It seems this 2.6.x kernel series is the most stable release series I
>> can even dream of!
>>
>> In a statement
>> savelim = current->rlim[RLIMIT_FSIZE].rlim_cur;
>>
>> /OBJ/OpenAFS/openafs-1.3.74-2.6/src/libafs/MODLOAD-2.6.10-rc2-MP/osi_misc.c:141:
>> error: structure has no member named `rlim'
>>
>> 'current' seems to be a global symbol (too common a name for a global
>> symbol) so it's even difficult to find the declaration of 'current'.
>
>
> it's moved into the "signal" or "signals" substructure of a task
> struct. i forget which. i haven't checked to be sure it's used the
> same, but that's the only place it is now.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>