Displaying 8 results from an estimated 8 matches for "loop_set_fd".
2005 Sep 19
0
xend.log LOOP_SET_FD: Device or resource busy
[2005-09-19 16:40:21 xend] ERROR (process:37) [block-file] ioctl:
LOOP_SET_FD: Device or resource busy
[2005-09-19 16:40:21 xend] ERROR (process:37) [block-file] ioctl:
LOOP_SET_FD: Device or resource busy
[2005-09-19 16:40:21 xend] ERROR (process:37) [block-file] ioctl:
LOOP_SET_FD: Device or resource busy
[2005-09-19 16:40:21 xend] ERROR (process:37) [block-file] ioctl:...
2010 Mar 14
0
[patches] klibc review unsorted patch queue
...oweroff shared/reboot shared/poweroff
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
new file mode 100644
index 0000000..9839f57
--- /dev/null
+++ b/usr/utils/loop.h
@@ -0,0 +1,49 @@
+#define LO_CRYPT_NONE 0
+#define LO_CRYPT_XOR 1
+#define LO_CRYPT_DES 2
+#define LO_CRYPT_CRYPTOAPI 18
+
+#define LOOP_SET_FD 0x4C00
+#define LOOP_CLR_FD 0x4C01
+#define LOOP_SET_STATUS 0x4C02
+#define LOOP_GET_STATUS 0x4C03
+#define LOOP_SET_STATUS64 0x4C04
+#define LOOP_GET_STATUS64 0x4C05
+
+#define LO_NAME_SIZE 64
+#define LO_KEY_SIZE 32
+
+struct loop_info {
+ int lo_number;
+ dev_t lo_device;
+ unsigned long l...
2019 Oct 31
0
[PATCH 2/2] loop: switch to linux/loop.h
...e mode 100644 usr/utils/loop.h
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
deleted file mode 100644
index 667f7dc0..00000000
--- a/usr/utils/loop.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#define LO_CRYPT_NONE 0
-#define LO_CRYPT_XOR 1
-#define LO_CRYPT_DES 2
-#define LO_CRYPT_CRYPTOAPI 18
-
-#define LOOP_SET_FD 0x4C00
-#define LOOP_CLR_FD 0x4C01
-#define LOOP_SET_STATUS 0x4C02
-#define LOOP_GET_STATUS 0x4C03
-#define LOOP_SET_STATUS64 0x4C04
-#define LOOP_GET_STATUS64 0x4C05
-
-#define LO_NAME_SIZE 64
-#define LO_KEY_SIZE 32
-
-struct loop_info {
- int lo_number;
- __kernel_old_dev_t lo_device;
- un...
2019 Nov 05
0
[klibc:master] loop: switch to linux/loop.h
...insertion(+), 51 deletions(-)
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
deleted file mode 100644
index 9abc2874..00000000
--- a/usr/utils/loop.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#define LO_CRYPT_NONE 0
-#define LO_CRYPT_XOR 1
-#define LO_CRYPT_DES 2
-#define LO_CRYPT_CRYPTOAPI 18
-
-#define LOOP_SET_FD 0x4C00
-#define LOOP_CLR_FD 0x4C01
-#define LOOP_SET_STATUS 0x4C02
-#define LOOP_GET_STATUS 0x4C03
-#define LOOP_SET_STATUS64 0x4C04
-#define LOOP_GET_STATUS64 0x4C05
-
-#define LO_NAME_SIZE 64
-#define LO_KEY_SIZE 32
-
-struct loop_info {
- int lo_number;
- dev_t lo_device;
- unsigned long l...
2005 Nov 03
1
Custom kernel always crashes
2019 Oct 31
3
[PATCH 1/2] loop: fix loop_info struct
Otherwise, stack can be corrupted resulting in incorrect runtime
behaviour. For example, overriding argc from main().
References: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1850184
Signed-off-by: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
Signed-off-by: Adam Conrad <adconrad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
2015 Jul 11
0
EXTLINUX - GCC 5
...ken losetup ioctls */
#endif
...
#if DO_DIRECT_MOUNT
{
if (!S_ISBLK(st.st_mode)) {
/* It's file, need to mount it loopback */
...
int loop_fd;
for (n = 0; loop_fd < 0; n++) {
...
if (ioctl(loop_fd, LOOP_SET_FD, (void *)dev_fd)) {
losetup ioctls have few chance if they get called by random decision.
This would be a nice suspect if __KLIBC__ is defined.
-----------------------------------------------------------------
[win/syslinux.c:506]: (error) Uninitialized variable: sdn
Possibly a false positiv...
2015 Jul 11
3
EXTLINUX - GCC 5
> On Jul 10, 2015 5:29 PM, "poma via Syslinux" <syslinux at zytor.com> wrote:
>
> > The same as with the ISOLINUX, stable and git.
> > Only this time has nothing to do with the menu.
>
> 1) EXTLINUX is no longer a discrete variant. The installer extlinux now
> installs SYSLINUX.
> 2) William Kensington already saw a similar behavior wherein an