search for: lbuf

Displaying 9 results from an estimated 9 matches for "lbuf".

Did you mean: buf
2013 Feb 14
12
[PATCH v7 0/5] xen: ARM HDLCD video driver
Hi all, these are the remaining unapplied patches of the ARM HDLCD patch series. Changes in v7: - rebased on b61ed421d2c85b5b106c63f2c14f8aa162b282f0; - turn more printk and panic into early_printk and early_panic. Changes in v6: - rebased on 77d3a1db3196b1b5864469f8d3f41d496800c795; - remove useless initializations to NULL in lfb_init; - more compact checks in lfb_init. Changes in v5: - move
2000 Jan 23
0
login.c: #ifdef wrong?
In login.c, I think the #ifdef in line 67 should be an #ifndef. Otherwise, the wrong lastlog mode is selected. Oops. I also changed the char array name (for the dirmode filename) to lbuf, as buf shadows the function parameter of the same name. Patch follows. Ta, -Andre --- openssh-1.2.1pre27/login.c Fri Jan 14 04:45:50 2000 +++ openssh-1.2.1pre27.ll/login.c Sun Jan 23 00:09:19 2000 @@ -58,20 +58,20 @@ char *lastlog; int fd; #ifdef LASTLOG_IS_DIR - char buf[1024]; + char lb...
2007 Nov 09
1
Patch for progressmeter.c
...stalled += elapsed; @@ -224,6 +237,7 @@ refresh_progress_meter(void) atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); last_update = now; + last_pos = cur_pos; } /*ARGSUSED*/ @@ -270,6 +284,7 @@ void stop_progress_meter(void) { alarm(0); + char lbuf[10]; if (!can_output()) return; @@ -277,7 +292,9 @@ stop_progress_meter(void) /* Ensure we complete the progress */ if (cur_pos != end_pos) refresh_progress_meter(); - + + format_rate(lbuf, sizeof(lbuf), max_delta_pos); + pri...
2004 May 03
4
ctags(1) command execution vulnerability
Hello, ctags(1) uses external application sort(1) for sorting the tags file. It calls it via system(3) function. Look at the /usr/src/usr.bin/ctags/ctags.c file, there are such lines here: if (uflag) { (void)asprintf(&cmd, "sort -o %s %s", outfile, outfile); if (cmd == NULL) err(1, "out of space"); system(cmd); free(cmd); cmd = NULL; } This code will be
2004 Jan 26
6
Kernel modules listing
Hi all, please, is there some utility/command/... to list all installed kernel modules ? Peter Rosa
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered the following error at the end: rm -f liblpxelinux.a ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...) { - err("%s: Invalid APCI element %d\n", __func__, i); + pr_err("%s: Invalid APCI element %d\n", __func__, i); goto read_table_done; } size += package->package.elements[i].buffer.length; @@ -327,7 +327,7 @@ static int ibm_get_table_from_acpi(char **bufp) lbuf = kzalloc(size, GFP_KERNEL); dbg("%s: element count: %i, ASL table size: %i, &table = 0x%p\n", - __func__, package->package.count, size, lbuf); + __func__, package->package.count, size, lbuf); if (lbuf) { *bufp = lbuf; @@ -404,8 +404,8 @@ static acpi_status __init...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...) { - err("%s: Invalid APCI element %d\n", __func__, i); + pr_err("%s: Invalid APCI element %d\n", __func__, i); goto read_table_done; } size += package->package.elements[i].buffer.length; @@ -327,7 +327,7 @@ static int ibm_get_table_from_acpi(char **bufp) lbuf = kzalloc(size, GFP_KERNEL); dbg("%s: element count: %i, ASL table size: %i, &table = 0x%p\n", - __func__, package->package.count, size, lbuf); + __func__, package->package.count, size, lbuf); if (lbuf) { *bufp = lbuf; @@ -404,8 +404,8 @@ static acpi_status __init...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...) { - err("%s: Invalid APCI element %d\n", __func__, i); + pr_err("%s: Invalid APCI element %d\n", __func__, i); goto read_table_done; } size += package->package.elements[i].buffer.length; @@ -327,7 +327,7 @@ static int ibm_get_table_from_acpi(char **bufp) lbuf = kzalloc(size, GFP_KERNEL); dbg("%s: element count: %i, ASL table size: %i, &table = 0x%p\n", - __func__, package->package.count, size, lbuf); + __func__, package->package.count, size, lbuf); if (lbuf) { *bufp = lbuf; @@ -404,8 +404,8 @@ static acpi_status __init...