GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fgetpriority_NEXT/kernel at master · CKAndroidProject/fgetpriority_NEXT

Expand file tree

/

kernel

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

kernel

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Kconfig
Kconfig
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
Makefile.ddk
Makefile.ddk
 
 
README.md
README.md
 
 
arch.h
arch.h
 
 
arm64_branch_patch.h
arm64_branch_patch.h
 
 
build_ddk.sh
build_ddk.sh
 
 
kernel.h
kernel.h
 
 
main.c
main.c
 
 
routine.h
routine.h
 
 
routine_kp.c
routine_kp.c
 
 
routine_raw.c
routine_raw.c
 
 

README.md

fgetpriority

A small LKM to filter sys_getpriority / sys_setpriority / sys_ioprio_get / sys_ioprio_set

Usage (LKM):

insmod fgetpriority.ko

Usage (LKM, if above fails):

#!/bin/sh

kptr_set=$(cat /proc/sys/kernel/kptr_restrict)
echo 1 > /proc/sys/kernel/kptr_restrict
addr=$(grep " kallsyms_lookup_name$" /proc/kallsyms | awk {'print "0x"$1'})
echo $kptr_set > /proc/sys/kernel/kptr_restrict

insmod fgetpriority.ko kallsyms_lookup_name_fn="$addr"

Usage (built-in):

  • just compile it in :^)

Compatibility:

  • CONFIG_ARM64=y
  • CONFIG_KALLSYMS=y
  • CONFIG_KALLSYMS_ALL=y (if used as LKM)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.