lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f11576a0905100439u38c8bccak355ec23953950d6@mail.gmail.com>
Date:	Sun, 10 May 2009 20:39:12 +0900
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Wu Fengguang <fengguang.wu@...el.com>
Cc:	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"hannes@...xchg.org" <hannes@...xchg.org>,
	"peterz@...radead.org" <peterz@...radead.org>,
	"riel@...hat.com" <riel@...hat.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"tytso@....edu" <tytso@....edu>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"elladan@...imo.com" <elladan@...imo.com>,
	"npiggin@...e.de" <npiggin@...e.de>,
	"cl@...ux-foundation.org" <cl@...ux-foundation.org>,
	"minchan.kim@...il.com" <minchan.kim@...il.com>
Subject: Re: [PATCH -mm] vmscan: make mapped executable pages the first class 
	citizen

>> > So if that's what they want, let them have it to their heart's content.
>> >
>> > You know it's normal for many users/apps to care only about the result.
>> > When they want something but cannot get it from the smarter version of
>> > PROT_EXEC heuristics, they will go on to devise more complicated tricks.
>> >
>> > In the end both sides loose.
>> >
>> > If the abused case is important enough, then let's introduce a feature
>> > to explicitly prioritize the pages. But let's leave the PROT_EXEC case
>> > simple.
>>
>> No.
>> explicit priotize mechanism don't solve problem anyway. application
>> developer don't know end-user environment.
>> they can't mark proper page priority.
>
> So it's simply wrong for an application to prioritize itself and is
> not fair gaming and hence should be blamed. I doubt any application
> aimed for a wide audience will do this insane hack.

There already are.
some application don't interest strict PROT_ setting.

They always use mmap(PROT_READ | PROT_WRITE | PROT_EXEC) for anycase.
Please google it. you can find various example.


> But specific
> targeted applications are more likely to do all tricks which fits
> their needs&environment, and likely they are doing so for good reasons
> and are aware of the consequences.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ