syslinux: possibly unsafe permissions on /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't have libsafe installed here, and syslinux works just fine.

Greg


On Mon, Nov 11, 2002 at 07:12:46PM -0500, Igor Gueths wrote:
> Hi all. After my earlier post, I ran an strace on the syslinux command I
> was executing. In the output there is a mention of ld.so.preload, which
> after doing some research I figured out that file pertained to Libsafe. It
> then opens the floppy device like its supposed to, however then it
> attempts writing to /tmp. When it can't do that it exits with an exit (1).
> Anyone know if I actually need libsafe installed in order to use Syslinux
> properly? I am kind of speculative about doing this after hearing about
> what Chuck went through with it. Thx!
> 
> May you code in the power of the source,
> may the kernel, libraries, and utilities be with you,
> throughout all distributions until the end of the epoch.

> execve("/usr/bin/syslinux", ["syslinux", "/dev/fd0"], [/* 17 vars */]) = 0
> uname({sys="Linux", node="igueths", ...}) = 0
> brk(0)                                  = 0x804d5b4
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=20290, ...}) = 0
> old_mmap(NULL, 20290, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
> close(3)                                = 0
> open("/lib/libc.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"..., 1024) = 1024
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
> old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
> mprotect(0x4012c000, 40160, PROT_NONE)  = 0
> old_mmap(0x4012c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x4012c000
> old_mmap(0x40132000, 15584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40132000
> close(3)                                = 0
> munmap(0x40014000, 20290)               = 0
> getuid32()                              = 0
> geteuid32()                             = 0
> getpid()                                = 768
> setreuid32(0xffffffff, 0)               = 0
> open("/dev/fd0", O_RDWR)                = 3
> fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(2, 0), ...}) = 0
> lseek(3, 0, SEEK_SET)                   = 0
> pread(3, "\353=\220MTOOL398\0\2\1\1\0\2\340\0@\v\360\t\0\22\0\2\0"..., 512, 0) = 512
> fsync(3)                                = 0
> chdir("/tmp")                           = 0
> stat64(".", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
> write(2, "syslinux: possibly unsafe /tmp p"..., 43) = 43
> _exit(1)                                = ?





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux