LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: BuraphaLinux Server <buraphalinuxserver@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: at program breaks with kernel 2.6.24
Date: Wed, 27 Feb 2008 14:41:47 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0802271440400.7699@twin.jikos.cz> (raw)
In-Reply-To: <5d75f4610802270427y789ffae9ie2682059206eed51@mail.gmail.com>

On Wed, 27 Feb 2008, BuraphaLinux Server wrote:

> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463669
> I have the same problem - it is not debian specific.  Did the
> semantics of kill() change with the new kernel?  I thought as long as
> something is setuid, even with capability stuff around the setuid
> programs just get _all_ capabilities and would keep working.

Does this still happen to you with current mainline? If so, what is your 
.config? It works for me(TM):

read(0, "/bin/echo \"aaa\"\n", 1024)    = 16
write(2, "at> ", 4)                     = 4
read(0, "", 1024)                       = 0
write(2, "<EOT>\n", 6)                  = 6
write(4, "#!/bin/sh\n# atrun uid=1000 gid=1"..., 4076) = 4076
close(4)                                = 0
munmap(0x7f068f383000, 4096)            = 0
fchmod(5, 0700)                         = 0
close(5)                                = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2246, ...}) = 0
write(2, "job 1 at 2008-02-27 14:42\n", 26) = 26
open("/var/run/atd.pid", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
fcntl(3, F_GETFL)                       = 0x8000 (flags 
O_RDONLY|O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f068f383000
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "5679\n", 4096)                 = 5
setreuid(1000, 25)                      = 0
setregid(100, 25)                       = 0
kill(5679, SIGHUP)                      = 0

(this is 2.6.25-rc3).

-- 
Jiri Kosina
SUSE Labs


  reply	other threads:[~2008-02-27 13:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 12:27 BuraphaLinux Server
2008-02-27 13:41 ` Jiri Kosina [this message]
2008-02-27 18:17 ` serge
2008-02-27 19:36   ` Frans Pop
2008-02-27 19:47   ` BuraphaLinux Server
2008-02-28  3:00     ` serge
2008-02-28  5:23       ` BuraphaLinux Server
2008-02-28 14:54         ` serge
2008-02-28 17:19         ` serge
2008-02-28 17:51           ` BuraphaLinux Server

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0802271440400.7699@twin.jikos.cz \
    --to=jkosina@suse.cz \
    --cc=buraphalinuxserver@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: at program breaks with kernel 2.6.24' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).