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: <4C909696.5000503@cyconix.com>
Date:	Wed, 15 Sep 2010 10:49:10 +0100
From:	Evan Lavelle <sa212+lkml@...onix.com>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: Driver crash when changing a function from external to internal linkage

I have an ISR which schedules a tasklet to handle an interrupt.

The tasklet is function A, which calls function B, which calls function C.

When all of A, B, and C have extern linkage, there's no problem. 
However, when B is declared static, the driver crashes, and hangs up the 
machine. The driver only crashes if C contains any code; if it's just an 
empty function then there's no problem.

Any thoughts on what the problem is here? This is x86_32/PAE, 
2.6.18-53.el5PAE, gcc 4.1.2 (Red Hat 4.1.2-46).

Thanks -

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