Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/rh/gcc-toolset-11/root/usr/share/systemtap/runtime/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/runtime/linux/autoconf-proc_ops.c
// PR26099: Linux kernel commit d56c0d45f0e for version 5.6 made the following changes:
// - procfs functions now take struct proc_ops instead of struct file_operations
// - proc_dir_entry now has union{proc_ops,proc_dir_ops} instead of proc_fops
//
// XXX: It should be sufficient to test for the existence of struct proc_ops.

#include <linux/fs.h>
#include <linux/proc_fs.h>

int
proc_open_file_test(struct inode *inode, struct file *filp)
{
  return 0;
}

static struct proc_ops proc_ops_test __attribute__ ((unused)) = {
  .proc_open = &proc_open_file_test,
};

Spamworldpro Mini