login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
30
Re: [PATCH V2] Keep 3 high personality bytes across exec
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Paul Mackerras <paulus@...>
To: Eric B Munson <ebmunson@...>
Cc: <linuxppc-dev@...>, <linux-kernel@...>
Subject:
Re: [PATCH V2] Keep 3 high personality bytes across exec
Date: Monday, June 30, 2008 - 4:19 am
Eric B Munson writes:
quoted text
> --- a/include/asm-powerpc/elf.h > +++ b/include/asm-powerpc/elf.h > @@ -257,7 +257,8 @@ do { \ > else \ > clear_thread_flag(TIF_ABI_PENDING); \ > if (personality(current->personality) != PER_LINUX32) \ > - set_personality(PER_LINUX); \ > + set_personality(PER_LINUX | \ > + (current->personality & PER_INHERIT)); \
Couldn't we use ~PER_MASK here instead of PER_INHERIT? That would mean we wouldn't have to modify include/linux/personality.h, and we wouldn't have to keep updating PER_INHERIT as more flags get added. (Nice patch description, BTW. Thanks.) Paul. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH V2] Keep 3 high personality bytes across exec
, Eric B Munson
, (Fri Jun 27, 8:08 pm)
[PATCH V3] Keep 3 high personality bytes across exec
, Eric Munson
, (Mon Jun 30, 12:12 pm)
Re: [PATCH V2] Keep 3 high personality bytes across exec
, Paul Mackerras
, (Mon Jun 30, 4:19 am)
Re: [PATCH V2] Keep 3 high personality bytes across exec
, Eric B Munson
, (Mon Jun 30, 11:56 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric W. Biederman
[PATCH 02/10] sysfs: Support for preventing unmounts.
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 26/37] dccp: Integration of dynamic feature activation - part 1 (socket set...
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
908 guests
online.
Online users
zeekec
Nelson
mercre40
Syndicate