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]
Date:	Mon, 27 Apr 2009 20:05:59 +1000
From:	John Williams <john.williams@...alogix.com>
To:	Christoph Hellwig <hch@...radead.org>
Cc:	monstr@...str.eu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 30/30] microblaze_mmu_v1: fcntl.h MMU update

Michal,

On Mon, Apr 27, 2009 at 7:59 PM, Christoph Hellwig <hch@...radead.org> wrote:
> On Mon, Apr 27, 2009 at 10:32:19AM +0200, monstr@...str.eu wrote:
>> From: Michal Simek <monstr@...str.eu>
>>
>> Signed-off-by: Michal Simek <monstr@...str.eu>
>> ---
>>  arch/microblaze/include/asm/fcntl.h |   14 ++++++++++++++
>>  1 files changed, 14 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/microblaze/include/asm/fcntl.h b/arch/microblaze/include/asm/fcntl.h
>> index 46ab12d..b4d27f6 100644
>> --- a/arch/microblaze/include/asm/fcntl.h
>> +++ b/arch/microblaze/include/asm/fcntl.h
>> @@ -1 +1,15 @@
>> +#ifndef _ASM_MICROBLAZE_FCNTL_H
>> +#define _ASM_MICROBLAZE_FCNTL_H
>> +
>> +#ifndef __uClinux__
>> +
>> +#define O_DIRECTORY  040000 /* must be a directory */
>> +#define O_NOFOLLOW   0100000 /* don't follow links */
>> +#define O_LARGEFILE  0200000
>> +#define O_DIRECT     0400000 /* direct disk access hint */
>> +
>> +#endif /* __uClinux__ */
>> +
>>  #include <asm-generic/fcntl.h>
>
> Again, ABIs should always be the same for MMU vs noMMU.

Is there a reason you need these custom fcntls?  What if you rebuild
glibc against the newer kernel headers (without __uClinux__)?

John
--
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