Search:

Type: Posts; User: vlrk

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    8,557

    Thanks @jhon.c This code is working, one...

    Thanks @jhon.c

    This code is working, one change I made to the encrypt command to use sha256 digest.

    openssl aes-256-cbc -in plaintext_file.txt -out encrypted_file.enc -md sha256 -pass...
  2. Replies
    4
    Views
    8,557

    @john.c, thanks for inputs. I changed the...

    @john.c,

    thanks for inputs.

    I changed the code as you suggested , still it does not gives out the valid decrypted data.

    Not sure , still what I am missing.

    I am updating my latest code in...
  3. Replies
    4
    Views
    8,557

    EVP_DecryptFinal_ex usage

    Hi Team,

    I am trying to use openssl API's for decryption of the key file with password given as argument.

    CLI commands which work fine are as below.

    Below is encode plain text file into...
  4. continuing on the same. My goal is to set some...

    continuing on the same.

    My goal is to set some capabilities to process dynamically and then using setuid and setgid go to non root.
    So that some of the capabilities can be still there to the...
  5. if (cap_get_flag(caps, CAP_NET_ADMIN,...

    if (cap_get_flag(caps, CAP_NET_ADMIN, CAP_EFFECTIVE, &flag_value) == -1) {
    perror("cap_get_flag");
    return 1;
    }

    above one works fine.
  6. I changed to 3 , still it's same result. But...

    I changed to 3 , still it's same result.

    But on the first hand it should have been 3 only , as the number of capabilities want to give set should be mentioned here.
  7. simple cap_get_flag() example showing the error as invalid arugment.

    Hi ,

    I am trying out simple example for cap_get_flag.

    setting some capability and in next line try to get the same .

    some how it is giving a error.

    Not able to know, what exactly missing...
  8. Thanks salem, Below is the nm and file related...

    Thanks salem,

    Below is the nm and file related output.



    [labuser@141179 lib]$ nm libc.so.6 | grep index
    000f0e30 t decrement_at_index.part.0
    000ea7c0 t __GI___if_freenameindex
    000ea7c0 t...
  9. query related valgrind usage in arm board with i686 arch

    Hi Team,

    We are using arm board of i686 arch .

    I got valgrind cross compiled using the arm toolchain of i386 ( vendor given).

    We observe for two of the packages could able to run with...
  10. Usage of string literals assigned by character pointer as a arguments.

    Hi Team,

    Want to the merits/demerits/risks in using the string literals which are being passed as argument to other routines.

    This string lietrals are directly assigned to the character pointer...
  11. Close the thread , Issue identified. The...

    Close the thread , Issue identified.
    The addr_path has invalid values, after putting correct path it got resolved.
  12. PF_UNIX Socket : bind failing with "No Such File or Directory"

    Hi All,

    I have socket bind failing, below are details.

    In one of my embedded box which is running with 4.19.183 linux kernal.

    Opening a PF_UNIX , SOCK_DGRAM socket and giving addr.sun_family...
  13. thanks stahta01 ..I reffered this post previous ,...

    thanks stahta01 ..I reffered this post previous , I guess he also face same issue as what I am observing.

    In between can any one give exact difference between cap_set_flag and capset .

    One...
  14. linux capabilities feature with non root user not able to set SO_MARK with setsockopt

    Hi All,

    I am having tcp server , which is running with non root user.

    Trying to set the QOS on the accepted socket.

    Currently it returns Permission Error as errno "Error:Operation not...
  15. Replies
    2
    Views
    2,353

    Thanks for the reply.

    Thanks for the reply.
  16. Replies
    2
    Views
    2,353

    Funciton pointer and array varaible assignment

    Hi ,

    I am doing one sample program with function pointer.

    Missing part for me is how bags array first index is getting replaced .
    Line number 10 calls function next , but how come value...
  17. May be this one more suits to the linux related...

    May be this one more suits to the linux related forum than a c programming message boards.
  18. Replies
    6
    Views
    6,406

    I made two changes to remove the errors . Why...

    I made two changes to remove the errors .

    Why size is being taken from the user , what purpose it is serving..?



    #include<stdio.h>

    int main(void)
    {
  19. Replies
    5
    Views
    7,574

    I see it's working in linux environment. I...

    I see it's working in linux environment.

    I made one change of commenting all except addition, to run with out compilation issue.

    Also you make use of return even in main().

    Though main can...
  20. Replies
    2
    Views
    4,238

    expression evaluation

    Hi ,

    In below code i want to the evaluation of expression.

    I am trying to know like , when will x be incremented and y will be incremented and on what basis.




    #include <stdio.h>
  21. I am trying to upgrade openssl package for one my...

    I am trying to upgrade openssl package for one my target board package .

    This is legacy code . It has already shared objects of previous version openssl-1.0.1t .Here i am trying to upgrade openssl...
  22. httpd + openssl : compilation issues while using shared openssl library

    I am using httpd-2.2.31 , trying to use openssl-1.0.2t with --with-ssl and --enable-ssl parameter.

    --with-ssl points to the openssl installed directory.

    I am having redhat 5.7 with x86_64 ...
  23. Finding out circular linked list example.. Query with respect to implementation.

    Hi All ,

    I have below program , which finds out whether the given linked list is circular linked list or not.




    Int containsLoop (listptr head)
    {
    Listptr *ptr1, *ptr2;
  24. Replies
    1
    Views
    2,514

    Double Pointer : Query on Some implementation.

    Hi ,

    I am trying to understand the usage of double points in c programming.

    I was following one of the response related here...
  25. Thanks salem, One more query on subject...

    Thanks salem,

    One more query on subject int32_t . I have two machines with different gcc versions.

    When i include this data type in my program and try to compile i see that it depends on...
Results 1 to 25 of 148
Page 1 of 6 1 2 3 4