LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2017, 12:29 PM   #1
Welloworld
LQ Newbie
 
Registered: Oct 2017
Posts: 2

Rep: Reputation: Disabled
Syscall hooking for sys_execve


So I've read a lot about how execve is built, but I'm not sure how should I do a syscall hooking for that.
I can not use __NR_execve because of the stubbing, but it is surely a way.
I can't find the way all over the internet please help me.
 
Old 10-18-2017, 01:21 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Please see the Site FAQ for guidance asking a complete question. Especially read the linked page, How to ask questions the smart way.

Basic usage of execve is available from the man page on your platform. If you cannot get that to work then please provide some detail including at minimum how you have tried to use it and any error messages that you receive as a result.
 
  


Reply

Tags
kernel module, linux, syscall



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gettime syscall TheLinuxQuestioner Programming 1 03-01-2017 11:42 AM
Hooking up a phone to the PC ButterflyMelissa General 40 01-29-2014 12:59 PM
Hooking in Linux widapol Programming 1 11-14-2010 01:43 AM
Hooking two computers up to each other possible? Devbmx Linux - Networking 14 03-01-2005 05:45 PM
Hooking a TV as a monitor SimpleLinuxuser Linux - Hardware 2 02-05-2005 04:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration