All of lore.kernel.org
 help / color / mirror / Atom feed
From: cdkrot@yandex.ru (Sayutin Dmitry)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Inject custom code or data into running process
Date: Tue, 03 Jan 2017 22:24:11 +0300	[thread overview]
Message-ID: <1246901483471451@web40m.yandex.ru> (raw)

Hello, how one should inject code or data into allready running process?

There is no need to start code execution at this point, but it should appear in it's virtual memory.

Moreover, i want this data to persist across execve's or clone's (probably can be implemented as hook on appropriate kernel methodes)

(If you want to know motivation for this -- I want to implement some new idea on sandboxing).


Thanks in advance, Sayutin Dmitry <cdkrot@yandex.ru>

             reply	other threads:[~2017-01-03 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 19:24 Sayutin Dmitry [this message]
2017-01-03 19:45 ` Inject custom code or data into running process Mike Krinkin
2017-01-03 19:54   ` Sayutin Dmitry
2017-01-03 20:11     ` Mike Krinkin
     [not found] ` <114118.1483472426@turing-police.cc.vt.edu>
2017-01-03 19:49   ` Sayutin Dmitry

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=1246901483471451@web40m.yandex.ru \
    --to=cdkrot@yandex.ru \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.