[lkml]   [2001]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsys_personality changes

I'm curious about the purpose of the sys_personality changes that made
it into 2.4.10. In 2.4.9, it looked like this:

asmlinkage long sys_personality(unsigned long personality)
int ret = current->personality;
if (personality != 0xffffffff) {
if (current->personality != personality)
ret = -EINVAL;
return ret;

Compared to your new one:

asmlinkage long
sys_personality(u_long personality)
if (personality == 0xffffffff)
goto ret;
if (current->personality != personality)
return -EINVAL;
return (current->personality);

What was the purpose of changing the way sys_personality works? AFAIK
sys_personality is supposed to return the previous persona. Yours
returns the new persona instead.

Was this intended, or can we roll back this part of your patch?

Paul Larson

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 13:03    [W:0.023 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site