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-next>] [day] [month] [year] [list]
Message-ID: <20180524151013.GA175207@sofia>
Date:   Thu, 24 May 2018 23:10:14 +0800
From:   "Liu, Changcheng" <changcheng.liu@...el.com>
To:     jiangshanlai@...il.com, tj@...nel.org
Cc:     linux-kernel@...r.kernel.org
Subject: define struct workqueue_struct in C file

Hi all,
	I have one confusion about workqueue_struct:
	1) Why struct workqueue_struct is defined in C file instead of
	header file?
	   I'm trying to print "workqueue_struct:name" field in one external
	   build module. "workqueue_struct:name" can't be accessed directly.

	2) struct work_struct is defined in "workqueue.h", could struct
	workqueue_struct also be defined in it?

--Thanks
Changcheng

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ