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>] [day] [month] [year] [list]
Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA//gP36uv0hG9NQDAJogAp8KAAAAQAAAA29r/sWKdAk6N1kbiT0APrAEAAAAA@cmanet.it>
Date:	Fri, 29 Sep 2006 14:33:50 +0200
From:	"Mauro Tassinari" <mtassinari@...net.it>
To:	<rusty@...tcorp.com.au>, <andi@...il.nowhere.org>
Cc:	<linux-kernel@...r.kernel.org>
Subject: patch needed in traps.c for linux-abi

Sirs, 

Trying to keep the linux-abi (a patch to the linux kernel 
that allows a linux system to run foreign binaries see 
http://sourceforge.net/projects/linux-abi) run with current kernels,
a change must be done to arch/i386/kernel/traps.c.

the patch commit 522e93e3fcdbf00ba85c72fde6df28cfc0486a65 modified
descriptor and trap table. 

Could somebody suggest how to change the following code:

static void __init set_call_gate(void *a, void *addr)
{
        _set_gate(a,12,3,addr,__KERNEL_CS);
}

needed in the linux-abi patched traps.c to conform to the new ceanups?

It should probably look like:

static void __init set_call_gate(void *a, void *addr)
{
        _set_gate(a, 0xnn | DESCTYPE_DPL3, addr, __KERNEL_CS);
}

with some value for 0xnn, formerly 12.

Any help will be greatly appreciated.

Regards

Mauro Tassinari

-
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