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]
Date:	Sun, 10 Dec 2006 11:34:54 -0600
From:	Dave Kleikamp <shaggy@...ux.vnet.ibm.com>
To:	Cal Peake <cp@...olutedigital.net>
Cc:	Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...l.org>,
	Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH] include/linux/freezer.h needs PF_FREEZE and PF_FROZEN
	declarations

On Sun, 2006-12-10 at 06:37 -0500, Cal Peake wrote:
> JFS (modular, if it matters) fails to build with this error:
> 
>   In file included from fs/jfs/jfs_txnmgr.c:49:
>   include/linux/freezer.h: In function `frozen':
>   include/linux/freezer.h:9: error: dereferencing pointer to incomplete type
>   include/linux/freezer.h:9: error: `PF_FROZEN' undeclared (first use in this function)
>   include/linux/freezer.h:9: error: (Each undeclared identifier is reported only once
>   include/linux/freezer.h:9: error: for each function it appears in.)
>   ...
> 
> 
> From: Cal Peake <cp@...olutedigital.net>
> 
> Include include/linux/sched.h in include/linux/freezer.h for PF_FREEZE and
> PF_FROZEN declarations.
> 
> Signed-off-by: Cal Peake <cp@...olutedigital.net>

Randy Dunlap has already submitted a patch to fix this:
http://marc.theaimsgroup.com/?l=linux-kernel&m=116555878318822&w=2

> 
> --- ./include/linux/freezer.h~orig	2006-12-07 22:33:46.000000000 -0500
> +++ ./include/linux/freezer.h	2006-12-10 06:15:11.000000000 -0500
> @@ -1,6 +1,9 @@
>  /* Freezer declarations */
> 
>  #ifdef CONFIG_PM
> +
> +#include <linux/sched.h>
> +
>  /*
>   * Check if a process has been frozen
>   */

Thanks,
Shaggy
-- 
David Kleikamp
IBM Linux Technology Center

-
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