From 54faa59da020aac2d455e02a3b353a47ebeec142 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Mon, 22 Oct 2012 13:06:32 -0400 Subject: [PATCH] Transforward tag 3 --- transforward.c | 7 +++++++ transforward.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/transforward.c b/transforward.c index 0e42f52..13e6156 100644 --- a/transforward.c +++ b/transforward.c @@ -65,6 +65,13 @@ static int inet_bind_entry(struct socket *sock, struct sockaddr *uaddr, int addr return 0; } +static struct file *do_last_probe(struct nameidata *nd, struct path *path, + const struct open_flags *op, const char *pathname) { + + + jprobe_return(); + +} static struct jprobe net_probe = { .entry = (kprobe_opcode_t *) inet_bind_entry diff --git a/transforward.spec b/transforward.spec index 7ed4ea9..394a9b0 100644 --- a/transforward.spec +++ b/transforward.spec @@ -1,6 +1,6 @@ %define name transforward %define version 0.1 -%define taglevel 2 +%define taglevel 3 ### legacy from locally-built kernels, used to define these # kernel_release : 1.fc16 (24 is then the planetlab taglevel) -- 2.43.0