Using python script to find symbols in. so library file
Using python script to find symbols in. so library file
Preparatory knowledge
Naming rules and storage / search path of Linux dynamic link library
Search files in Linux
Linux browsing symbol list in. so library file
Calling shell commands in Python
Complete procedure
When writing a Makefile rece ...
Posted by sujithnair on Thu, 25 Jun 2020 20:43:02 -0700
Fedora 32 - Enable new BLS specification management GRUB2
rise
Fedora's kernel is frequently upgraded.But I found that restarting doesn't use the new kernel.I need to check the GRUB configuration file.
ydx@ydx-mf:~ $ cat /etc/default/grub
#GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console" ...
Posted by Shp0ngl3 on Thu, 21 May 2020 16:15:46 -0700
The nature of creating users in linux
ref:
Parameters for the useradd command
/etc/default/useradd configuration file
/Files in etc/skel directory
Create a user manually
ref:
http://blog.csdn.net/ouyang_peng/article/details/8732928
http://blog.sina.com.cn/s/blog_6a58bdf40102v2zf.html
Parameters for the useradd command
[vincent@localhost ~]$ use ...
Posted by ghettopixel on Sat, 04 Apr 2020 15:03:48 -0700
Git version control details
GitHub operation process:
1. Create a new code base
$ git init
$ git clone [url]
2. Create branch
Administrator@UMMMZHE4GX4KT68 MINGW64 ~/Desktop/pythoncode/4.20/my.github.io (master)
$ git checkout -b xxz
Switched to a new branch 'xxz'
3. View status
Administrator@UMMMZHE4GX4KT68 MINGW64 ~/Desktop/pythoncode/4.20/ ...
Posted by sader on Tue, 31 Mar 2020 03:51:02 -0700
Source code analysis of Binder native layer: sm's receiving and processing of data
We start with the main function of servicemanager
main and binder & loop
//\frameworks\native\cmds\servicemanager\service_manager.c
int main()
{
struct binder_state *bs;
bs = binder_open(128*1024);
if (!bs) {
ALOGE("failed to open binder driver\n");
return -1;
}
...
Posted by x_maras on Sun, 02 Feb 2020 09:46:08 -0800
nginx problem list
nginx problem list
Installation and Startup of nginx
Configure nginx startup self-start:
Open log for nginx
nginx configuration syntax
nginx configuration: role of server_name
nginx log level
access_log logs/access.log main;
log_format main
Resolve restart issues
How to view compilation options wh ...
Posted by POG1 on Thu, 30 Jan 2020 17:06:05 -0800
Permission management under Linux
Permission management under Linux
Permission management under Linux
1. How to view and read permission information
[1]ls
ls -l file
Enter the specified directory
ls -d dir
View catalog itself
ls -a dir
All files contain hidden
ls -S dir
View and sort by size
ls -s dir
View file size
T ...
Posted by rwcurry on Sat, 11 Jan 2020 23:27:14 -0800
Android several lines of code solve the problem of permission adaptation above 6.0
GitHub
APK
Copy the libray module to the project, or directly rely on the following in build.gradle:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.AnJiaoDe:Permission:V1.0.0'
}
Note: if sync reports an error, it is related to com.android.too ...
Posted by redking on Fri, 27 Dec 2019 10:35:48 -0800
Linux remote access and control
Prefacelinux operation and maintenance management is generally managed by remote mode. When hundreds of server hosts need to be managed from a workstation, the remote maintenance mode will be more advantageous.I. SSH Remote ManagementSSH is a secure channel protocol, which is mainly used to realize the remote management, remote replication and ...
Posted by nou on Sun, 24 Nov 2019 10:53:25 -0800
Jvm-Sandbox Source Analysis--Startup Analysis
Preface
1. Work reason, use jvm-sandbox more, then do source code analysis, to know each other, personal ability is limited, if there are errors, welcome to correct.2. About what jvm-sandbox is, how to install it, and how to move it Official Documents3. Source analysis is based on jvm-sandbox Latest master code, tag-1.2.1.4. The tentative plan ...
Posted by tomz0r on Sun, 01 Sep 2019 09:32:10 -0700