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] [day] [month] [year] [list]
Message-ID: <20080108093558.GG27671@elte.hu>
Date:	Tue, 8 Jan 2008 10:35:58 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	John Reiser <jreiser@...Wagon.com>
Cc:	Paul Mackerras <paulus@...ba.org>,
	Hirokazu Takata <takata@...ux-m32r.org>,
	"David S. Miller" <davem@...emloft.net>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	Roman Zippel <zippel@...ux-m68k.org>,
	Greg Ungerer <gerg@...inux.org>,
	Mikael Starvik <starvik@...s.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: STT_FUNC for assembler checksum and semaphore ops


* John Reiser <jreiser@...Wagon.com> wrote:

> Dear $ARCH Maintainers,
> 
> This patch adds Elf32_Sym .st_info (STT_FUNC) and .st_size for 
> hand-coded checksum and semaphore subroutines.  I needed this info 
> when writing a static analyzer for stack depth [grovel over ./vmlinux] 
> on the um (UserModeLinux) $ARCH for i386.  The changes work on i386.  
> Other $ARCH are analogous but not tested.  Other arch/x86/lib/*.S are 
> not used by um currently.  [Should analogous changes be made anyway?]
> 
> Comments?

thanks, i have picked up the x86 bits.

Will pick up later cleanup versions as well if there's some better macro 
approach to do this as an ENTRY thing, as we could consolidate both the 
start and the end into a single macro:

        .type __down_failed_trylock, @function
ENTRY(__down_failed_trylock)
        CFI_STARTPROC

        CFI_ENDPROC
        END(__down_failed_trylock)
        .size __down_failed_trylock, . - __down_failed_trylock

perhaps START_FUNCTION() and END_FUNCTION() macros?

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