This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://palava.tv/e26d9663-3a92-898d-8c17-969da2c95304 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
logger "SSH COMMAND is $SSH_ORIGINAL_COMMAND" | |
if test -n "$SSH_ORIGINAL_COMMAND" -a parse_to_allow($SSH_ORIGINAL_COMMAND) ; then | |
/bin/bash -c "$SSH_ORIGINAL_COMMAND" | |
else | |
logger "shell access denied" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/cerbero/dist/linux_x86_64/lib ] % ldd libopenh264.so | |
linux-vdso.so.1 => (0x00007fffa43fe000) | |
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f15000dd000) | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f14ffdd7000) | |
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f14ffbc0000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f14ff7fa000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007f15006c9000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifdef WORD64 | |
typedef long INT64; | |
typedef unsigned long CARD64; | |
# define B32 :32 | |
# define B16 :16 | |
# ifdef UNSIGNEDBITFIELDS | |
typedef unsigned int INT32; | |
typedef unsigned int INT16; | |
# else | |
typedef signed int INT32; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE* pipe = popen("/system/bin/screencap -p", "r"); | |
char buffer[100]; | |
while(!feof(pipe)) { | |
if(fgets(buffer, 100, pipe) != NULL){ | |
printf("snapshot taken\n"); | |
} | |
if (send(new_fd, buffer, 100, 0) == -1) | |
perror("send"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python () { | |
hpl = d.getVar('HPL', True) | |
hpl.replace(...) | |
d.setVar('HPL', hpl) | |
} | |
do_b () { | |
hpl="${HPL}" | |
echo "hpl: ${HPL}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR: The stack trace of python calls that resulted in this exception/failure was: | |
| ERROR: File "patch_do_patch", line 136, in <module> | |
| ERROR: | |
| ERROR: File "patch_do_patch", line 133, in patch_do_patch | |
| ERROR: | |
| ERROR: File "/devel/arm/git/setup-scripts/sources/openembedded-core/meta/lib/oe/patch.py", line 379, in Resolve | |
| ERROR: bb.msg.fatal(bb.msg.domain.Build, ("Cannot proceed with manual patch resolution - '%s' not found. " \ | |
| ERROR: | |
| ERROR: The code that was being executed was: | |
| ERROR: 0132: raise bb.build.FuncFailed(str(sys.exc_value)) |