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/README.md at master · CKAndroidProject/fgetpriority_NEXT

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (21 loc) · 621 Bytes
/

README.md

Copy path

File metadata and controls

32 lines (21 loc) · 621 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

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 01402792 — 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.