login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul Mackerras
Subject:
Re: [PATCH V2] Keep 3 high personality bytes across exec
Date: Monday, June 30, 2008 - 1: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, 5:08 pm)
Re: [PATCH V2] Keep 3 high personality bytes across exec
, Paul Mackerras
, (Mon Jun 30, 1:19 am)
Re: [PATCH V2] Keep 3 high personality bytes across exec
, Eric B Munson
, (Mon Jun 30, 8:56 am)
[PATCH V3] Keep 3 high personality bytes across exec
, Eric Munson
, (Mon Jun 30, 9:12 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata