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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1355793187-2638-1-git-send-email-hannes@stressinduktion.org>
Date:	Tue, 18 Dec 2012 02:13:03 +0100
From:	Hannes Frederic Sowa <hannes@...essinduktion.org>
To:	linux-kernel@...r.kernel.org
Cc:	npiggin@...nel.dk
Subject: [PATCH v2 0/4] brd: sanity checks and dynamic ram disk creation/destroying

While toying around with a library which needs small block devices for
quorum management, I came up with these patches to dynamically create
and destroy ram disks (I wanted to have non-swappable backed devices).

Change log (since RFC patch <20121014024836.GB27966@...er.stressinduktion.org>):
1) module parameters(rd_nr, rd_size, max_part) are now unsigned ints
2) check for active users of ram disk before BLKFLSBUFing
3) switched from lists to idrs for device management

Change log (since patch v1 <1350757943-24981-1-git-send-email-hannes@...essinduktion.org>):
1) rebase to v3.7 (in conformance to uapi-header changes)
2) convert simple_stroul to kstrtoul
3) make rd_size static as the last user has vanished

These patches are diffed against v3.7:

 Documentation/ioctl/ioctl-number.txt |   1 +
 block/partition-generic.c            |   1 +
 drivers/block/brd.c                  | 361 +++++++++++++++++++++++++++++------
 include/linux/miscdevice.h           |   1 +
 include/uapi/linux/Kbuild            |   1 +
 include/uapi/linux/brd.h             |  12 ++
 6 files changed, 314 insertions(+), 63 deletions(-)

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