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]
Date:	Wed, 20 May 2009 15:55:28 +0100
From:	Jacques Dirac <jacquesdirac@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: FIFO: problems after changing size

Hi,

In the kernel source (/include/linux/pipe_fs_i.h) I have adjusted the
size of the FIFOs (named pipes):

#define PIPE_SIZE 8192

This used to be PAGE_SIZE (=4096bytes?).

Now when I read from the pipe (using the read function in a C program)
and the pipe contains more than 4096 bytes, my process crashes and
gives a Segmentation Fault.

Could someone help me on this?


Thanks in advance!

Jacques Dirac.
--
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