search for: line_max

Displaying 5 results from an estimated 5 matches for "line_max".

Did you mean: linear_max
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
...in_def = "/etc/login.defs" in + let lines = Array.to_list (g#read_lines login_def) in + let line_min = Array.filter ( + fun line -> (string_prefix line "UID_MIN") + ) lines in + let _,min_uid = sscanf line_min "%s %d" (fun a b -> a,b) in + let line_max = Array.filter ( + fun line -> (string_prefix line "UID_MAX") + ) lines in + let _,max_uid = sscanf line_max "%s %d" (fun a b -> a,b) in + let passwd = "/etc/passwd" in + let shadow = "/etc/shadow" in + let group = "/etc/group&q...
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
2008 Oct 27
0
NEW: COM32 module to alias (Revised)
...x, etc to test */ #include <syslinux/boot.h> /* syslinux_run_command() */ #endif /* __COM32__ */ #ifdef __linux__ /* For COMMAND_LINE_SIZE */ #include <asm/setup.h> #endif /* __linux__ */ // Possible referenced values for command line length: // MAX_CMDLINE_LEN (com32/menu/menu.h) // LINE_MAX or _POSIX2_LINE_MAX <limits.h> on *nix systems; // Seem more appropriate for a shell command line // COMMAND_LINE_SIZE <asm/setup.h> on a Linux system #ifdef MAX_CMDLINE_LEN #define ALIAS_CMD_SZ MAX_CMDLINE_LEN #else #ifdef COMMAND_LINE_SIZE #define ALIAS_CMD_SZ COMMAND_LINE_SIZE #else...
2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
...and() */ #else #ifdef __linux__ /* For COMMAND_LINE_SIZE */ #include <asm/setup.h> #endif /* __linux__ */ #endif /* __COM32__ */ // #define DO_DEBUG 1 /* Uncomment this for additional output */ /* Possible referenced values for command line length: * MAX_CMDLINE_LEN (com32/menu/menu.h) * LINE_MAX or _POSIX2_LINE_MAX <limits.h> on *nix systems; * Seem more appropriate for a shell command line * COMMAND_LINE_SIZE <asm/setup.h> on a Linux system */ #ifdef MAX_CMDLINE_LEN #define RUN_CMD_SZ MAX_CMDLINE_LEN #else #ifdef COMMAND_LINE_SIZE #define RUN_CMD_SZ COMMAND_LINE_SIZE #else...
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...ep.tsc_freq: 2000089958 machdep.i8254_freq: 1193182 machdep.acpi_timer_freq: 3579545 machdep.acpi_root: 1027168 user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin: user.bc_base_max: 99 user.bc_dim_max: 2048 user.bc_scale_max: 99 user.bc_string_max: 1000 user.coll_weights_max: 0 user.expr_nest_max: 32 user.line_max: 2048 user.re_dup_max: 255 user.posix2_version: 199212 user.posix2_c_bind: 0 user.posix2_c_dev: 0 user.posix2_char_term: 0 user.posix2_fort_dev: 0 user.posix2_fort_run: 0 user.posix2_localedef: 0 user.posix2_sw_dev: 0 user.posix2_upe: 0 user.stream_max: 20 user.tzname_max: 255 p1003_1b.asynchronous...